Skip to content

Snakemake job stops with error for some small variants <130bp #7

Description

@gdaviduu

Hello,

The Snakemake pipeline works great most of the time but seems to throw an error only for very small (> 1bp) to up to ~70bp Deletions, such as this one:

and lr_steps[i+2].info['TYPE'] == 'Align' :
IndexError: list index out of range
ERROR with command: Command('bash scripts/gen_img.sh
--chrom scaffold00169 --start 939388 --end 939389 ...', , stdout[:20]: '/proj/snic2019-35-58', exit-code: 1, error: exit status 1, run-time: 1.344511671s)

However it also threw an error for larger DELs, such as this one:

ERROR with command: Command('bash scripts/gen_img.sh
--chrom chr4 --start 61314503 --end 61314570

For the moment my workaround has been to remove all variants <70bp from the VCF, but I did have to remove a few extra variants up to ~90bp or 121bp in length that threw the same error. I attach an example slurm.out file with an example error.

Thank you for your kind help,
Gabriel

samplotml_error_out.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions