Closed terrycojones closed 6 years ago
Hi!
I would first rename your bam file to something like alignment_sorted.bam
. Then, are reads correctly aligned with a good coverage? You can inspect the alignment with samtools tview alignment_sorted.bam data.fasta
. Before proceeding, though, I must warn you that global reconstruction is a difficult problem. Low diversity of the sample, short reads, and conserved regions, al contribute to low reliability of the results. Maybe enough to just run a local reconstruction?
Let us know.
Have you tried to change the size of your window ("-w") to a smaller size? I solved this error by changing the window size to somewhat smaller than my average read size as suggested on http://cbg-ethz.github.io/shorah/local.html
Hi. Thanks for the replies! I'm a bit busy on a couple of other things right now, but will get back to this soon I hope.
I run
shorah.py
as follows:and get an error:
The code is assuming that
reads.fas
contains reads, but in my case that file is empty.It's not immediately clear to me where
reads.fas
is created. Inshorah.log
I seeAh, now I see it:
Any suggestions?
Thanks!