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

      • 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, 10-22-2026, 11:13 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 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...