Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range when writing filtered VCF #7

Open
mheskett opened this issue Jun 6, 2022 · 0 comments
Open

list index out of range when writing filtered VCF #7

mheskett opened this issue Jun 6, 2022 · 0 comments

Comments

@mheskett
Copy link

mheskett commented Jun 6, 2022

This happens for some of my samples but not all. It is able to write part of the VCF and then fails. With some debugging It seems like this only happens if you run multiple samples with the default output directory of ./results.

  File "/home/users/heskett/miniconda3/envs/fings/bin/fings", line 10, in <module>
    sys.exit(main())
  File "/home/users/heskett/miniconda3/envs/fings/lib/python3.7/site-packages/fings/FiNGS.py", line 223, in main
    applyfilters(tdata,ndata,sdata,pdict,resultsdir,vcfpath,referencegenome,args.PASSonlyin,args.PASSonlyout)
  File "/home/users/heskett/miniconda3/envs/fings/lib/python3.7/site-packages/fings/filter_functions.py", line 121, in applyfilters
    record.FILTER=judgement(flist[passindex])
IndexError: list index out of range

call is:

fings -n .255J_N1.recal.bam -t .255J_T1.recal.bam -v snpEff.ann.vcf --PASSonlyin --PASSonlyout```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant