My VCF files are of zero length?
0
0
Entering edit mode
6.7 years ago

i have sorted bam files , i used these command to generate VCF file but my file only has headers, it does not show any alignment?

this is the code that i used

> samtools mpileup -u -f /home/mahnoor/--------------/reference.fa      /home/mahnoor/Documents/IGV_DATA/Wheat_DATA/REFERENCE.sorted > /home/mahnoo---------------/SRR030257.bcf
------- to generate bcf file

> bcftools view -v -c -g /home/mah-------Documents/IGV_DATA/Wheat_DATA/SRR030257.bcf > /home/mahn -------/Documents/IGV_DATA/Wheat_DATA/test_wheat/test_data/SRR030252.vcf
--------to generate vcf file



    #CHROM  POS ID  REF ALT QUAL    FILTER  INFO    FORMAT   ------ there is nothing after this?

///////// there is no error its just that when i generate the vcf file it does not have any information after the lines above?

alignment next-gen • 1.3k views
ADD COMMENT
0
Entering edit mode

what are the errors messages ? why do you post this post with the 'R' tag ?

ADD REPLY
0
Entering edit mode

I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

ADD REPLY
0
Entering edit mode

i have edited my question. there are no error message its just that the vcf files does not have any information after the header?

ADD REPLY

Login before adding your answer.

Traffic: 3148 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6