-
Notifications
You must be signed in to change notification settings - Fork 10
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
Question about no result from Margin #27
Comments
Looks like PEPPER did not find any heterozygous variants in your assembly. Could it be homozygous? If you tell us more about the genome and your dataset and provide PEPPER and Mergin logs, I should be able to help more. |
peper log: [04-04-2023 13:59:45] INFO: ONT VARIANT CALLING MODE SELECTED. margin log: _> Parsing model parameters from file: /opt/margin_params/phase/allParams.haplotag.ont-r94g507.hapDup.json
|
It seems like there were no heterozygous SNPs found by PEPPER, so Marigin failed. If your genome is haploid, Hapdup is not applicable, as it is designed to phased out diploid contigs. |
The sample is diploid. For the same sample we detected SNPs from illumina data. And from the same nanopore data, clair3 called the expected variants. I wonder if users can loose the stringency in pepper/margin? |
How many Illumina SNPs did you detect (with allele frequency above ~25%)? It may just be too few, 3 calls is not enough to phase. The expectation is human-like heterozygosity rate (e.g. 0.1%), that are distributed relatively uniformly. |
According to clair3 on nanopore input, the frequency is over 25%, as shown below: #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE |
Thanks for the info. I think 3 SNPs may be just too few for Margin, it was really designed for phasing long-ish genomic segments with relatively uniform variants distribution. |
Dear author,
Thanks for developing hapdup, which works well most of time for me. But occasionally Margin failed even pepper produced as expected variant calls. What parameter(s) I can tune? Please advise.
Here is an example margin log file when 3 variant calls from pepper were expected but margin didn't keep any. Is there a way to loose the criteria?
Parsed 3 total VCF entries from /sample1/hapdup/pepper/PEPPER_VARIANT_FULL.vcf; kept 0 HETs, skipped 0 for region, 1 for not being PASS, 2 for being homozygous, 0 for being INDEL
No valid VCF entries found!
The text was updated successfully, but these errors were encountered: