-
Notifications
You must be signed in to change notification settings - Fork 1
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
Duplicated and missing entries in .methphased.vcf #12
Comments
Should be a bug, could you please show me the vcf file? I have never used MethPhaser on mice samples so a little example could help. |
It's not public data - I'll have to ask if it could be shared. I may get back to you on this at a later date. Sorry I can't be more helpful now. Although one thing I encountered from the current implementation is that, since I filtered the |
I think that was because most human autosomes can be parsed as |
We use mm39 as reference. Now I think about it - this line here reads in info from the reference (and the next line gets the chromosome column). If there are non-autosome entries in the reference, there will be non-numerics in their names, and the chromosome column dtype will be |
I will download mm39 and take a look, thanks! |
Yeah mm39 starts with something like |
When I look at the entries in the output
.methphased.vcf
, there seems to be complete duplicate rows (not just that one variant is methphased into different haplotypes and therefore split into multiple entires with different PS tags, but entirely duplicate entires). This is not a big issue because complete duplicates can be easily dropped - but what could be causing this? Is this intentional?There also seems to be variants in the original
.vcf
file that's missing from the output.methphased.vcf
, including some that was phased in the original.vcf
. Is that intentional?The original
.vcf
was filtered to only contain those on autosomes, and the input.bam
files are filtered to only contain primary alignments but were not filtered to only keep those that map to autosomes.Thank you so much!
The text was updated successfully, but these errors were encountered: