Closed jsgounot closed 1 year ago
Hi jsgounot,
Thanks for using stRainy! Seems like a bcftools
issue. I need more information to be able to help.
test_set
that comes with the repo?bcftools
are you using?ataberk [at] umd.edu
?Ataberk
Hi,
Are you able to run the test_set that comes with the repo? Yes.
Which version of bcftools are you using? bcftools 1.16 Using htslib 1.16
If it is possible, could you share the input dataset with us at ataberk [at] umd.edu? I'll try to send it today.
Thanks! JS
Hello again,
There seems to be an issue with the .bam
file. Assuming the .fastq
file you sent contains the reads you want to align to the fasta file, I used the following command to generate a new .bam
file (replace map-ont
with map-hifi
for HiFi reads):
minimap2 -ax map-ont assembly_graph.fasta merged.fastq.gz | samtools sort -@4 -t 8 > new_assembly_graph.bam
Then, using new_assembly_graph.bam
as the input, error is gone. Let me know if this works for you too.
Ataberk
Hi,
does this mean that stRainy is only available for hifi reads? Mapping ONT reads with Hifi preset does not seem right.
Regards, JS
stRainy works with both HiFi and ONT reads. You can use either map-ont
or map-hifi
with minimap2 to generate a .bam
file.
Ataberk
Hi, sorry I misread your last comment. This seems to work now, thanks!
Hi,
I tried running your soft with a toy dataset composed of simulated reads from 5 e.coli strains. I assembled the reads with flye and followed your instructions on github. I hit this error when I run the soft:
Regards, jsgounot