I have a BAM file containing an alignment of the neanderthal y chromosome
to the human y chromosome. I'm trying to extract the consensus sequence of
the neanderthal reads so that I can isolate genes. I found this command
online:

samtools mpileup -uf ref.fa aln.bam | bcftools view -cg - | vcfutils.pl
vcf2fq > cns.fq

and am trying to use it to output the consensus sequence. However, I keep
getting an error:

Error: Could not parse --min-ac g Use of uninitialized value $l in numeric
lt (<) at vcfutils.pl line 566.
Use of uninitialized value $l in numeric lt (<) at vcfutils.pl line 566.
<mpileup> Set max per-file depth to 8000

Does anyone know how to fix this? If not, is there an alternate method to
get a consensus sequence from reads?
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to