question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to get the phased vcf?

See original GitHub issue

Hi there,

My container: pepper_deepvariant_test-v0.5.sif

My command:

run_pepper_margin_deepvariant call_variant \
        -b ${bam_file} \
        -f ${reference_file} \
        -t 16 \
        -o dv_out \
        --ont  \
        --phased_output​ \
        --gvcf

My output file list:

./logs
./logs/1_pepper_snp.log
./logs/2_margin_haplotag.log
./logs/3_pepper_hp.log
./logs/4_DeepVariant.log
./intermediate_files
./intermediate_files/PEPPER_HP_OUPUT.vcf.gz
./intermediate_files/PEPPER_HP_OUPUT.vcf.gz.tbi
./intermediate_files/PEPPER_SNP_OUPUT.vcf.gz
./intermediate_files/PEPPER_SNP_OUPUT.vcf.gz.tbi
./intermediate_files/MARGIN_PHASED.PEPPER_SNP_MARGIN.haplotagged.bam
./intermediate_files/MARGIN_PHASED.PEPPER_SNP_MARGIN.haplotagged.bam.bai
./intermediate_files/MARGIN_PHASED.PEPPER_SNP_MARGIN.chunks.csv
./PEPPER_MARGIN_DEEPVARIANT_FINAL_OUTPUT.vcf.gz
./PEPPER_MARGIN_DEEPVARIANT_FINAL_OUTPUT.g.vcf.gz
./PEPPER_MARGIN_DEEPVARIANT_FINAL_OUTPUT.vcf.gz.tbi
./PEPPER_MARGIN_DEEPVARIANT_FINAL_OUTPUT.g.vcf.gz.tbi
./PEPPER_MARGIN_DEEPVARIANT_FINAL_OUTPUT.visual_report.html

I’m looking around for errors in the logs but have only seen an error where deepvariant looks for CUDA, doesn’t find it, and defaults to the CPU analysis. Do you have any tips for how I can get the phased output?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
RichardCorbettcommented, Aug 30, 2021

I have been able to run 10 analyses successfully by making sure the .fai file is present with the .fa to keep margin from trying to create it. Don’t want to jinx it but this might be all I needed.

0reactions
RichardCorbettcommented, Aug 30, 2021

Thanks @kishwarshafin. I’ll let you know if anything changes on my end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Get Phasing Status From Vcf Files - Biostars
I have the mapping wgs data on hand and Look forward to the method which turn unphased VCF files to phased. Could you...
Read more >
Phased VCF -Software -Genome & Exome - Support
Phased VCF. Long Ranger reports small variant calls in a VCF file, a standard format compatible with other tools. When appropriate, additional data...
Read more >
vcf_phase.py: VCF Phase Function - PPP - Read the Docs
Phasing is an essental and frequently used process in population genetic analyses. Given an unphased VCF file and a selected phasing algorithm, vcf_phase...
Read more >
Phased.vcf.gz - Support Illumina
Phased variants in the phased VCF file (*phased.vcf.gz) contain a modification in the genotype (GT) field and also have five additional INFO fields....
Read more >
Missing physical phasing information in vcf? - GATK
The way the phasing algorithm decides to phase is by checking whether two variants always occur on the same haplotype or always occur...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found