Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
rare variant missing in the vcf file crang Bioinformatics 10 04-04-2013 08:27 AM
BWA Not Printing QNAME in SAM File cscswimmer227 Bioinformatics 2 12-12-2012 08:08 AM
Missing field in annovar tahamasoodi Bioinformatics 1 11-25-2012 05:00 AM
how to convert the VP INFO field of a VCF file evakoe Bioinformatics 1 09-25-2012 11:27 PM
VCF file, missing AA, AC and AN tags phatjoe Bioinformatics 0 01-15-2012 04:17 PM

Thread Tools
Old 02-07-2014, 10:04 AM   #1
Junior Member
Location: midwest

Join Date: Mar 2010
Posts: 6
Default Samtools VCF file: NS field value missing/not printing


In my VCF files, the NS field (Number of Samples With Data) is entirely missing. I would like to get this number so I can filter SNPs based on % of individuals with missing data.

I am using mpileup on 100 individuals of a population, followed by bcf to vcf conversion.

$ samtools-0.1.19/samtools mpileup -B -uD -Q 20 -f reference.fa Ind1.sorted.bam Ind2.sorted.bam [...] Ind100.sorted.bam | bcftools view -bvcg - > SNP.bcf

followed by

$ samtools-0.1.19/bcftools/bcftools view SNP.bcf | varFilter -D 5000 > SNP.vcf

The vcf file version is 4.1

Any help would be greatly appreciated. Thanks.

Edit: This is what I get under 'INFO' column:

Last edited by probean; 02-07-2014 at 01:07 PM.
probean is offline   Reply With Quote

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 10:40 PM.

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