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
        Advanced Tools Transforming the Field of Cytogenomics
        by seqadmin


        At the intersection of cytogenetics and genomics lies the exciting field of cytogenomics. It focuses on studying chromosomes at a molecular scale, involving techniques that analyze either the whole genome or particular DNA sequences to examine variations in structure and behavior at the chromosomal or subchromosomal level. By integrating cytogenetic techniques with genomic analysis, researchers can effectively investigate chromosomal abnormalities related to diseases, particularly...
        09-26-2023, 06:26 AM
      • seqadmin
        How RNA-Seq is Transforming Cancer Studies
        by seqadmin



        Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
        09-07-2023, 11:15 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 09-29-2023, 09:38 AM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-27-2023, 06:57 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-26-2023, 07:53 AM
      0 responses
      30 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-25-2023, 07:42 AM
      0 responses
      18 views
      0 likes
      Last Post seqadmin  
      Working...
      X