-
Notifications
You must be signed in to change notification settings - Fork 14
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
posterior fraction > 1? #14
Comments
Hi, sorry for the late reply. |
Hello Osvaldo, I'm sorry in turn for the late reply. Do you really need global reconstruction or could you do with local only Again thanks for looking into this. Sincerely, On 17 Feb 2015, at 23:30, Osvaldo Zagordi wrote: Hi, sorry for the late reply. On 13 February 2015 at 22:37, bramvrancken <[email protected]mailto:[email protected]> wrote:
Ciao. — |
Bram, Then I checked the coverage with |
Hello Osvaldo, I understand that the reconstruction is difficult when little variation is present, but was under the impression this has more to do with correctly linking variations separated by more than 1 read length than correctly inferring there is no variation. Is this view of the haplotype reconstruction problem wrong? Thanks again for having a look at the data. Best wishes, On 23 Feb 2015, at 10:00, Osvaldo Zagordi wrote: Bram, Then I checked the coverage with samtools depth Vphaser_input_sorted.bam | less, and I realised that you have coverage only little above 100. Shorah is designed to work in heterogeneous samples at high coverage, so I'm really not sure it's the right tool for you. I don't think you can get more than a consensus sequence here. — |
You refer to having variants far apart and not knowing how to phase them. Update: I checked and actually I had already opened an issue to fix the single haplotype/no reads problem issue #6 |
Dear Dr. Zagordi,
I've been trying to apply Shorah to a pretty homogenous population of rabies virus (sequence length ~11kb). The data are from the Illumina Myseq patfom. it seems the analysis starts well. however, I get numerous warnings the frequency of haplotypes exceeds 1, and afterwards lots of error messages.
Could you please point me to what error I'm making?
Thanks a lot!
Bram
Frequency error message:
/Applications/_evolutionarySoftware/shorah-master/snv.py:127: UserWarning: posterior = 1.364 > 1
warnings.warn('posterior = %4.3f > 1' % post)
....
next error message:
Traceback (most recent call last):
File "/Applications/_evolutionarySoftware/shorah-master/shorah.py", line 175, in
mm.main('%s_cor.rest' % in_stem, maxhaplo=200)
File "/Applications/_evolutionarySoftware/shorah-master/mm.py", line 713, in main
totalPaths = countPaths(graph, source, sink)
File "/Applications/_evolutionarySoftware/shorah-master/mm.py", line 630, in countPaths
getPaths(source)
File "/Applications/_evolutionarySoftware/shorah-master/mm.py", line 627, in getPaths
numPaths[node] = sum(map(getPaths, graph[node]))
....
and finally the crash message:
RuntimeError: maximum recursion depth exceeded in cmp
The text was updated successfully, but these errors were encountered: