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

Annotating VCF at BLAT ED #123

Open
shivUSF opened this issue Dec 13, 2022 · 8 comments
Open

Annotating VCF at BLAT ED #123

shivUSF opened this issue Dec 13, 2022 · 8 comments

Comments

@shivUSF
Copy link

shivUSF commented Dec 13, 2022

I am currently running this pipeline on multiple samples, most of them run fine with few problem with cravat we just fixed.
Have seen for some of the samples at the Annotate BLAT ED step the annotate.ED.py file is throwing this specific error " Failed to fetch sequence in chrM:-38-62" is there something recently changed in the the genome library ?

#----
02:22:50 : INFO : Processing VCF Positions
02:22:52 : INFO : Running samtools faidx
[W::fai_get_val] Reference chrM:-38-62 not found in file, returning empty sequence
[faidx] Failed to fetch sequence in chrM:-38-62
Traceback (most recent call last):
File "/usr/local/src/ctat-mutations/src/annotate_ED.py", line 165, in
main()
File "/usr/local/src/ctat-mutations/src/annotate_ED.py", line 84, in main
subprocess.check_call(cmd, shell=True)
File "/opt/conda/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'samtools faidx /tmp/ctat_mutation_out/220300000234-C08/cromwell-executions/ctat_mutations/f4a8e00f-b9cb-4e26-980d-553b0b05bef1/call-AnnotateVariants/annotate_variants_wf/64c9af0a-1ef2-4aeb-80ff-784b9e355e59/call-annotate_blat_ED/inputs/817306935/ref_genome.fa --region-file /tmp/ctat_mutation_out/220300000234-C08/cromwell-executions/ctat_mutations/f4a8e00f-b9cb-4e26-980d-553b0b05bef1/call-AnnotateVariants/annotate_variants_wf/64c9af0a-1ef2-4aeb-80ff-784b9e355e59/call-annotate_blat_ED/tmp.87e3a9a4/positions.fa > /tmp/ctat_mutation_out/220300000234-C08/cromwell-executions/ctat_mutations/f4a8e00f-b9cb-4e26-980d-553b0b05bef1/call-AnnotateVariants/annotate_variants_wf/64c9af0a-1ef2-4aeb-80ff-784b9e355e59/call-annotate_blat_ED/tmp.87e3a9a4/faidx_output.fa' returned non-zero exit status 1.

------

Shivani

@brianjohnhaas
Copy link
Collaborator

brianjohnhaas commented Dec 13, 2022 via email

@shivUSF
Copy link
Author

shivUSF commented Dec 13, 2022

Ohh ! in that case do you need me to share any file to test?
I can share file for two of the samples have the same issue.
Thank you once again.

@brianjohnhaas
Copy link
Collaborator

brianjohnhaas commented Dec 13, 2022 via email

@shivUSF
Copy link
Author

shivUSF commented Dec 14, 2022

I am using singularity for the run.

@brianjohnhaas
Copy link
Collaborator

brianjohnhaas commented Dec 14, 2022 via email

@shivUSF
Copy link
Author

shivUSF commented Dec 14, 2022

Thanks Brian! The samples are currently running, will let you know the results once its done.

@shivUSF
Copy link
Author

shivUSF commented Dec 21, 2022

Hey Brian,
It worked for all the samples, thank you once again for your help!

@brianjohnhaas
Copy link
Collaborator

brianjohnhaas commented Dec 21, 2022 via email

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

2 participants