Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krawitz
    Member
    • Feb 2010
    • 35

    #1

    How to Call Genotypes on NGS datasets for linkage

    Hi there,
    there are several decent variant callers for NGS data sets, such as samtools, GATK, ... that report variants to a reference in vcf4.0 format. These are well suited for variant detection.
    Now let's suppose I want to call genotypes (not only variants) on a NGS dataset, that will be used for linkage analysis. Then I am not only interested in sequence variants, but also genotypes, that agree with the reference at certain positions.
    samtools allows to call variants at certain positions with the -l list option. But how do I get the info that the genotype is identical to the reference? So basically I wonder, whether the following line in vcf format would make sense or is allowed:

    #chr pos id ref alt qal
    20 14370 rs6054257 G G 29

    Any suggestions?

    cheers,

    peter
  • krawitz
    Member
    • Feb 2010
    • 35

    #2
    The following options in samtools will call genotypes even, if they agree with the reference:
    samtools mpileup -f <ref.fa> -l <PositionsToGenotype> -cg <alignment.bam> >genotypes.bcf
    bcftools view genotypes.bcf -g > genotypes.vcf

    samtools reports a position that agree with the reference as:
    #chr pos ID ref alt
    chr10 1023909 . A .

    I didn't find this specification in the vcf format description, but it seems rather intuitive.

    hope this helps,
    peter

    Comment

    • vyellapa
      Member
      • Oct 2011
      • 59

      #3
      Originally posted by krawitz View Post
      The following options in samtools will call genotypes even, if they agree with the reference:
      samtools mpileup -f <ref.fa> -l <PositionsToGenotype> -cg <alignment.bam> >genotypes.bcf
      bcftools view genotypes.bcf -g > genotypes.vcf

      samtools reports a position that agree with the reference as:
      #chr pos ID ref alt
      chr10 1023909 . A .

      I didn't find this specification in the vcf format description, but it seems rather intuitive.

      hope this helps,
      peter
      I'm curious how you would differentiate an indel from a . that corresponds to alt allele that is the same as the reference allele?

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...