cgat-developers / cgat-apps

cgat-apps repository
Other
33 stars 14 forks source link

Error in cgat fasta2bed #78

Closed biozzq closed 3 years ago

biozzq commented 3 years ago

Hi @Acribbs

I found that the output of fasta2bed always missed the first ungapped segment. For example;

cat test.fa 
>1
ATGCNATG
cat test.fa | cgat fasta2bed -m ungapped
1   5   8   1   0.0000

Best wishes, Zheng zhuqing

Acribbs commented 3 years ago

thanks for reporting this. Things were extremely busy so I missed this. I will take a look and see if I can isolate the code

Acribbs commented 3 years ago

fixed with #81