Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JadeB
    Junior Member
    • Oct 2014
    • 5

    #1

    Filtering VCF file

    Hi,

    I'm currently trying to filter my VCF file. I'm working on mtDNA, so I'd like to exclude heterozygous SNP. To do so, I'v tried to use bcftools filter and bcftools query, but I don't manage to keep the GT 1/1 data.

    More precisely :

    bcftools filter -s LowQual -e '%QUAL<20 || DP>1200 || GT!="1/1"' data.vcf > data_filt.vcf

    answers : "No such INFO field: GT"
    bcftools filter -s LowQual -e '%QUAL<20 || DP>1200 || FORMAT/GT!="1/1"' data.vcf > data_filt.vcf

    answers : " Error: the tag "INFO/AT/GT" is not defined in the VCF header"
    bcftools filter -s LowQual -e '%QUAL<20 || DP>1200 || FMT/GT!="1/1"' data.vcf > data_filt.vcf

    Answers : No error message, I've a new vcf file, but data are not correctly filtered, all of them are LowQual identified (and all pass if I change != to ==)
    Do you have any idea how I could filter my data ? (except something like cat data.vcf | grep 1/1 > data_filt.vcf)

    I'm using bcftools 0.2.0-rc8-5-g0e06231, samtools 1.1.

    EDIT : no more problem with bcftools 1.1
    Last edited by JadeB; 10-27-2014, 06:46 AM. Reason: solved

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 11:13 AM
0 responses
19 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, Yesterday, 10:48 AM
0 responses
18 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
42 views
0 reactions
Last Post SEQadmin2  
Working...