Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kjaja
    Member
    • Aug 2011
    • 58

    #1

    variant filtering

    Hi All,

    I have cases and controls the were exomed sequenced and used GATK to call the variants in all the cases and controls combined. This generated a single vcf file with all the variants. I would like then to keep the variants that are in cases and not in my controls after removing the low quality variants (with scores < 30). I would like to get some ideas on the best way to handle this? The goal is to remove the variant s in the controls and see what is left.

    thanks
  • rjohnp
    Member
    • Jan 2013
    • 16

    #2
    Hi,

    VCF-tools has some useful tools for this sort of thing, see http://vcftools.sourceforge.net/perl...l#vcf-contrast. Looks like exactly what you're looking for.

    Hope that helps.

    Comment

    • kjaja
      Member
      • Aug 2011
      • 58

      #3
      I have tried the vcf tool vcf-contrast from the following link http://vcftools.sourceforge.net/perl...l#vcf-contrast
      but i am getting the following warning

      Argument "." isn't numeric in numeric gt (>) at vcftools_0.1.10/perl/vcf-contrast line 144, <STDIN> line 120414.


      Any idea?

      thanks

      Comment

      • rjohnp
        Member
        • Jan 2013
        • 16

        #4
        Originally posted by kjaja View Post
        I have tried the vcf tool vcf-contrast from the following link http://vcftools.sourceforge.net/perl...l#vcf-contrast
        but i am getting the following warning

        Argument "." isn't numeric in numeric gt (>) at vcftools_0.1.10/perl/vcf-contrast line 144, <STDIN> line 120414.


        Any idea?

        thanks
        When I get that sort of message it's generally a trailing new-line on your input file. You should still have an output? Do a line count on your vcf file, I would suggest it's likely to be 120414 lines long. If this does pose an issue to getting an output file, remove it in vim.

        Comment

        • kjaja
          Member
          • Aug 2011
          • 58

          #5
          Was wondering if this can be done using GATK?

          Comment

          • AJERYC
            Member
            • Jan 2012
            • 26

            #6
            try kggseq

            java -Xms256m -Xmx1300m --buildver hg19 -jar kggseq.jar --no-resource-check --buildver hg19 --vcf-file yourfile.vcf --ped-file pedigree.ped --o-vcf --genotype-filter 2,4

            in file pedigree.ped put there the status of case(2) or control (1)
            for genotype filter option 2 (homozygous variables present in cases and controls) and 4 (heterozygous variables present in cases and controls)

            Comment

            • kjaja
              Member
              • Aug 2011
              • 58

              #7
              I have tried using vcf-contrast in vcf tools using the following command

              vcftools_0.1.10/perl/vcf-contrast +sample1,sample2 -sample3 -n allAllsamples.vcf > insample1or2NOTsample3.vcf

              where I am looking for variants that could be in sample 1 OR sample 2 but not in sample 3. But I found that some of the variants in sample 1 are in sample 3. And the same issue with sample 2.
              Any suggestions will be greatly appreciated

              Comment

              • evakoe
                Member
                • Jul 2012
                • 27

                #8
                I also noticed that vcf-contrast does not return the expected results. One still gets variants that are present in samples given with the minus flag. Does somebody know another program which has the same functionality? I think that GATK SelectVariants cannot be used for this purpose.
                Thank you.

                Comment

                • krawitz
                  Member
                  • Feb 2010
                  • 35

                  #9
                  You could also try the following:
                  upload your multiple vcf file to GeneTalk (www.gene-talk.de). Use the collection tool to asign all the cases the status "affected" and all the controls the status "unaffected". Then proceed with inheritance filtering option "dominant". This will yield variants that are unique to the cases.

                  Comment

                  • evakoe
                    Member
                    • Jul 2012
                    • 27

                    #10
                    Hi Krawitz,
                    thanks for your reply. I also had cosidered this already, I was just hoping for a more direct solution.

                    Comment

                    • MQ-BCBB
                      Member
                      • May 2009
                      • 25

                      #11
                      Since no one has mentioned SnpSIFT, I should way that it works very well for this
                      http://snpeff.sourceforge.net/SnpSift.html#casecontrol

                      Comment

                      • aggp11
                        Member
                        • Jun 2011
                        • 87

                        #12
                        Could you print like 5-10 lines from your "combined" vcf file here? Try to include an example of what output you would like to see.

                        Comment

                        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
                        16 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 10:48 AM
                        0 responses
                        17 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-15-2026, 10:52 AM
                        0 responses
                        35 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...