Dear lh3,
I am trying to run the command as described in the README to produce the .diploid.fq.gz file. I have the latest (1.2 htslib) samtools/bcftools/vcfutils.pl
The error I get is
Error: Could not parse --min-ac -
[E::hts_open] fail to open file 'NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam'
[mpileup] failed to open NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam: No such file or directory
Use of uninitialized value in length at /usr/local/bin/vcfutils.pl line 565.
Use of uninitialized value in length at /usr/local/bin/vcfutils.pl line 565.
Looking at the manual, the "-c " parameter has changed across versions. What is the updated command?
Dear lh3, I am trying to run the command as described in the README to produce the .diploid.fq.gz file. I have the latest (1.2 htslib) samtools/bcftools/vcfutils.pl
samtools mpileup -C 50 -u -f /data/Databases/human_g1k_v37.fasta NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam | /usr/local/bin/bcftools view -c - | /usr/local/bin/vcfutils.pl vcf2fq -d 10 -D 100 | gzip > NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam.diploid.fq.gz
The error I get is Error: Could not parse --min-ac - [E::hts_open] fail to open file 'NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam' [mpileup] failed to open NA12878.GRCh37.ILLUMINA.bwa.CEU.high_coverage.20100311.bam: No such file or directory Use of uninitialized value in length at /usr/local/bin/vcfutils.pl line 565. Use of uninitialized value in length at /usr/local/bin/vcfutils.pl line 565.
Looking at the manual, the "-c " parameter has changed across versions. What is the updated command?
Thanks, Juan