Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to get the information of GT (genotype) field in vcf files

    Hi all,

    I am new to SAMtools and bcftools . I used Hisat2 for alignment, samtools for sorting and indexing and SNP calling. Here are the script I used for SNP call and generate vcf file. However, I could not get GT (genotype) field in vcf files (I also copy and paste the vcf content here, in italic) . Just wondering whether you have any suggestions about getting GT field.

    module load SAMtools
    samtools mpileup -g -f genomic.fna B12.sorted.bam > B12.sorted.bam.raw.bcf

    module load BCFtools/1.9-foss-2016b
    bcftools view B12.sorted.bam.raw.bcf | vcfutils.pl varFilter - > B12.sorted.bam.raw.vcf

    _##contig=<ID=ONZH01031391.1,length=44893>
    ##ALT=<ID=*,Description="Represents allele(s) other than observed.">
    ##INFO=<ID=INDEL,Number=0,Type=Flag,Description="Indicates that the variant is an INDEL.">
    ##INFO=<ID=IDV,Number=1,Type=Integer,Description="Maximum number of reads supporting an indel">
    ##INFO=<ID=IMF,Number=1,Type=Float,Description="Maximum fraction of reads supporting an indel">
    ##INFO=<ID=DP,Number=1,Type=Integer,Description="Raw read depth">
    ##INFO=<ID=VDB,Number=1,Type=Float,Description="Variant Distance Bias for filtering splice-site artefacts in RNA-seq data (bigger is better)",Version="3">
    ##INFO=<ID=RPB,Number=1,Type=Float,Description="Mann-Whitney U test of Read Position Bias (bigger is better)">
    ##INFO=<ID=MQB,Number=1,Type=Float,Description="Mann-Whitney U test of Mapping Quality Bias (bigger is better)">
    ##INFO=<ID=BQB,Number=1,Type=Float,Description="Mann-Whitney U test of Base Quality Bias (bigger is better)">
    ##INFO=<ID=MQSB,Number=1,Type=Float,Description="Mann-Whitney U test of Mapping Quality vs Strand Bias (bigger is better)">
    ##INFO=<ID=SGB,Number=1,Type=Float,Description="Segregation based metric.">
    ##INFO=<ID=MQ0F,Number=1,Type=Float,Description="Fraction of MQ0 reads (smaller is better)">
    ##INFO=<ID=I16,Number=16,Type=Float,Description="Auxiliary tag used for calling, see description of bcf_callret1_t in bam2bcf.h">
    ##INFO=<ID=QS,Number=R,Type=Float,Description="Auxiliary tag used for calling">
    ##FORMAT=<ID=PL,Number=G,Type=Integer,Description="List of Phred-scaled genotype likelihoods">
    ##bcftools_viewVersion=1.9+htslib-1.9
    ##bcftools_viewCommand=view W9.raw.bcf; Date=Fri Apr 17 14:08:37 2020
    #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT /home/fastdir/a1674603/msGBS_analysis/03_Aligning/combined/sorted/W9.sorted.bam
    ONZH01000001.1 14661 . A <*> 0 . DP=2;I16=2,0,0,0,64,2048,0,0,120,7200,0,0,0,0,0,0;QS=1,0;MQ0F=0 PL 0,6,58
    ONZH01000001.1 14672 . T <*> 0 . DP=3;I16=3,0,0,0,119,4731,0,0,180,10800,0,0,33,363,0,0;QS=1,0;MQ0F=0 PL 0,9,100
    ONZH01000001.1 14683 . A <*> 0 ._


    Thanks,

    Jia

Latest Articles

Collapse

  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM
  • 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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:57 AM
0 responses
12 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-06-2024, 07:17 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-02-2024, 08:06 AM
0 responses
19 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-30-2024, 12:17 PM
0 responses
24 views
0 likes
Last Post seqadmin  
Working...
X