bcftools icon indicating copy to clipboard operation
bcftools copied to clipboard

PSMC vcfutlis.pl vcf2fq is not supported?

Open Priambodobagus opened this issue 3 years ago • 2 comments

Hi I am running PSMC analysis, in their website (psmc github) is provided this command: samtools mpileup -C50 -uf ref.fa aln.bam | bcftools view -c -
| vcfutils.pl vcf2fq -d 10 -D 100 | gzip > diploid.fq.gz

samtools mpileup already change into bcftools mpileup. bcftools view already change to bcftools call. but for vcfutils.pl vcf2fq is not supported anymore. anyone knows how I can convert the vcf to fastq format? some sites suggested to use bcftools consensus to substitute the vcf2fq (bcftools consensus). but this command was generating fasta format. Please let me know if someone also working with PSMC these days! Github, do your magic!

Priambodobagus avatar Oct 31 '22 14:10 Priambodobagus

Just noting here that this was also requested in https://github.com/samtools/bcftools/issues/1670, and also see the comment https://github.com/samtools/bcftools/issues/1670#issuecomment-1061865432

pd3 avatar Nov 01 '22 15:11 pd3

Hi I am running PSMC analysis, in their website (psmc github) is provided this command: samtools mpileup -C50 -uf ref.fa aln.bam | bcftools view -c - | vcfutils.pl vcf2fq -d 10 -D 100 | gzip > diploid.fq.gz

samtools mpileup already change into bcftools mpileup. bcftools view already change to bcftools call. but for vcfutils.pl vcf2fq is not supported anymore. anyone knows how I can convert the vcf to fastq format? some sites suggested to use bcftools consensus to substitute the vcf2fq (bcftools consensus). but this command was generating fasta format. Please let me know if someone also working with PSMC these days! Github, do your magic!

How did you proceed with your PSMC analysis ?

Sonalhooda avatar Sep 11 '24 05:09 Sonalhooda