Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make .bam file to .bai file format under MS Window7 operating system? Min Jung Lee Bioinformatics 6 11-21-2014 12:06 PM
Samtools VCF file: NS field value missing/not printing probean Bioinformatics 0 02-07-2014 10:04 AM
samtools/bcftools: How to inspect SNPs not made it into vcf file muenalan Bioinformatics 2 09-06-2012 05:13 AM
Problem with vcf file generated Bioinformatics 0 01-05-2012 03:22 AM
VCFtools problem - broken VCF header on 1000genomes data Bioinformatics 1 07-08-2011 04:17 AM

Thread Tools
Old 04-19-2016, 08:48 PM   #1
Junior Member
Location: bay area

Join Date: Apr 2016
Posts: 2
Default A problem of using Samtools to make VCF file


I used the samtools commands and 1000 genome data(phase 3, low-coverage sequenced data) to generate the VCF file for both snp and indel, and below are the two command lines to get the vcf file for 5 people. The final "5genomes.var.flt.vcf" file has around 163432 snp and indel sites. However, when I used the same way to generate the vcf file for 100 people, the final vcf file includes only 1465 snp and indel, which is too few. I checked the last locus for both files, it looks like both of them processed the whole chromosome 20.

Do you have any idea what's wrong with it?

Thanks a lot. I look forward to your reply.

————— Here are the commands I used to generate VCF file——————

../samtools-0.1.19/samtools mpileup -uf ../human_g1k_v37.fasta HG00096.chrom20.ILLUMINA.bwa.GBR.low_coverage.20120522.bam HG 00268.chrom20.ILLUMINA.bwa.FIN.low_coverage.20130415.bam HG00419.chrom20.ILLUMINA.bwa.CHS.low_coverage.20130415.bam HG00759. chrom20.ILLUMINA.bwa.CDX.low_coverage.20130415.bam HG01112.chrom2 0.ILLUMINA.bwa.CLM.low_coverage.20120522.bam | ../samtools-0.1.19/bcftools/bcftools view -bvc - > 5genomes.var.raw.bcf

../samtools-0.1.19/bcftools/bcftools view 5genomes.var.raw.bcf | ../samtools-0.1.19/bcftools/ varFilter -D100 > 5genomes.var.flt.vcf
watermelon1037 is offline   Reply With Quote

indel, samtools, snp, vcf file

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 03:08 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO