Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #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


    • #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

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 08:47 AM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Working...
      X