Error "Bad formatting for indel alleles: cct_C" when runnning cortex_var

16 views
Skip to first unread message

Daniel Cameron

unread,
Feb 3, 2016, 4:53:12 AM2/3/16
to cortex_var
I'm running cortex_var on some simulated data using the quick start documentation (using k31 only to speed up processing) and the comversion of the PD to VCF appears to have failed on the fourth variant call. Given the error message:

Bad formatting for indel alleles: cct_C at ~/tools/cortex/CORTEX_release_v1.0.5.21//scripts/analyse_variants/process_calls.pl line 2068, <$fh_proc_bub> line 36.

and the relevant code in process_calls.pl, it appears that cortex requires fully uppercase reference genome due to the case sensitive regexes used. This seems at odds with other cortex code such as the process_call.pl rev_comp which does allow for both upper and lower case bases.

Is this behaviour considered a bug, do I need to change the casing on my reference, or have I misinterpreted the error?


Thanks
Daniel Cameron

output_proc_union_pd_k31
union_all_independent_k31_pd_callsets.genotyped.5pflanks
union_all_independent_k31_pd_callsets.genotyped.5pflanks.sam
union_all_independent_k31_pd_callsets.genotyped.aligned_branches
cortex.vcf_union_PD_calls_k31.decomp.vcf.uncleaned
cortex.vcf_union_PD_calls_k31.raw.vcf.uncleaned
log.txt

Zamin Iqbal

unread,
Feb 7, 2016, 5:19:55 PM2/7/16
to cortex_var
Daniel


Bad formatting for indel alleles: cct_C at ~/tools/cortex/CORTEX_release_v1.0.5.21//scripts/analyse_variants/process_calls.pl line 2068, <$fh_proc_bub> line 36.

and the relevant code in process_calls.pl, it appears that cortex requires fully uppercase reference genome due to the case sensitive regexes used. This seems at odds with other cortex code such as the process_call.pl rev_comp which does allow for both upper and lower case bases.

Is this behaviour considered a bug, do I need to change the casing on my reference, or have I misinterpreted the error?


I consider this a bug. Please raise it as an issue here

For now, a workaround is changing your reference to be upper case

Sorry!
Zam


 

Thanks
Daniel Cameron

Reply all
Reply to author
Forward
0 new messages