generate consensus sequence for PSMC analysis
0
0
Entering edit mode
12 months ago

Hi,

I wanted to generate consenus sequence for PSMC analysis. I have a bam file. But, fpr PSMC analysis they said we need to generate diploid sequence. It means I need to use 2n=34 chromosome genome? or n=17 chromosome genome assembly? if n=34, should I index it? If my question seems stupid then excuse me :). Here is my command:

samtools mpileup -C50 -uf ./ref.fasta ./bams/DHB109B.sort.rmdup.bam |  bcftools view -c - \
      | vcfutils.pl vcf2fq -d 10 -D 100 | gzip > diploid_DHB109B.fq.gz
bcftools consensus-sequence • 371 views
ADD COMMENT

Login before adding your answer.

Traffic: 3701 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