Unconfigured Ad

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

    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

                      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

                        • mylaser
                          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                          by mylaser
                          Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                          If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                          This guide explains everything you need to know about...
                          Yesterday, 01:13 AM
                        • SEQadmin2
                          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                          by SEQadmin2



                          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                          ...
                          07-09-2026, 11:10 AM
                        • SEQadmin2
                          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                          by SEQadmin2



                          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                          07-08-2026, 05:17 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, 07-09-2026, 10:04 AM
                        0 responses
                        19 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-08-2026, 10:08 AM
                        0 responses
                        11 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-07-2026, 11:05 AM
                        0 responses
                        26 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-02-2026, 11:08 AM
                        0 responses
                        31 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...