Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to know homozygous or heterozygous in samtools results

    Dear All,
    I run samtools and got results. But i don't know how to identify which SNP is homozygous for either parent or heterozygous
    any suggestion please

    #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT wrc20014.sorted.bam.bam
    chr01 27400 . N G 68 . DP=22;VDB=3.856020e-04;AF1=1;AC1=2;DP4=0,0,0,8;MQ=29;FQ=-51 GT:PL:GQ 1/1:101,24,0:45
    chr01 27401 . N C,G 75 . DP=22;VDB=1.934810e-04;AF1=1;AC1=2;DP4=0,0,0,9;MQ=28;FQ=-51 GT:PL:GQ 1/1:108,24,0,104,10,101:45

  • #2
    Hi maivantan,

    You can tell the both the variants are homozygous from the genotype (GT) field in the 10th column.

    1/1:101,24,0:45
    The 1/1 indicates a homozygous variant.
    0/1 would indicate a heterozygous variant.

    Both of the variants in your post are homozygous.

    Here is the VCF format specification for reference:
    Last edited by donfreed; 01-15-2014, 09:53 PM. Reason: Added external reference

    Comment


    • #3
      Thank you very much Donfreed,

      Comment


      • #4
        Dear don freed,
        I sequenced F2 population, and got the result, i posted here a part of it

        0/1:71,0,171:74
        0/1:155,0,160:99
        0/1:113,0,193:99
        0/1:69,0,139:72
        1/1:203,90,0:99

        1/1:113,199,0:99
        1/1:113,199,0:99

        all my data showed 0/1 or 1/1. I know 0/1 is heterozygous, 1/1 is homozygous
        my question is what is homozygous for parent 1 and what is homozygous for parent 2?
        which command should i add to know about that?

        Thank you very much

        Comment


        • #5
          Dear maivantan,

          There is no such information in the VCF file. You need to sequence the parents.

          Comment


          • #6
            Dear TiborNagy,

            it means that i have to sequence parent1, parent2 and F2 population, then compare to detect polymorphic SNPs, right?

            i would like to ask you how can I export the data to excel file, just copy and past?

            Thank you very much

            Comment


            • #7
              Originally posted by maivantan View Post
              Dear TiborNagy,
              it means that i have to sequence parent1, parent2 and F2 population, then compare to detect polymorphic SNPs, right?
              Right.

              I do not know what is Excell
              But import as text and use TAB as field separator.

              Comment


              • #8
                Thank you very much TiborNagy,

                Comment


                • #9
                  Originally posted by maivantan View Post
                  Dear All,
                  I run samtools and got results. But i don't know how to identify which SNP is homozygous for either parent or heterozygous
                  any suggestion please
                  Yes, yes you did.

                  But are you sure that those results make sense? Samtools should be telling you what the reference letter is at each point, but in your output, they are all N's. I suggest you search this site for when other people have had that problem, and attempt to fix that.

                  That problem is why you have no 0/0 results; if your reference letters are all N's, you will never have homozygous matches.

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Recent Developments in Metagenomics
                    by seqadmin





                    Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                    09-23-2024, 06:35 AM
                  • seqadmin
                    Understanding Genetic Influence on Infectious Disease
                    by seqadmin




                    During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                    Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                    09-09-2024, 10:59 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 10-02-2024, 04:51 AM
                  0 responses
                  13 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 10-01-2024, 07:10 AM
                  0 responses
                  21 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-30-2024, 08:33 AM
                  0 responses
                  25 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-26-2024, 12:57 PM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X