Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
psmc bootstrap chrisbala Genomic Resequencing 0 11-25-2015 06:21 AM
run psmc in parallel? ymwur Genomic Resequencing 0 02-17-2013 05:58 PM
Feedback on SNP filtering step before running PSMC fcr Bioinformatics 0 02-12-2013 02:41 AM
Request for Example of "consensus diploid sequence" required by PSMC (Li & Durbin) fcr Genomic Resequencing 0 08-08-2012 02:53 AM
How to convert diploid abi file into two fasta sequences? ymc Bioinformatics 1 04-28-2011 06:24 PM

Thread Tools
Old 01-25-2016, 10:52 AM   #1
Senior Member
Location: Puerto Rico

Join Date: Sep 2014
Posts: 106
Default PSMC, having to generate diploid.psmc file

Hi there,
I have downloaded fasta assembly from hamster:

and paired end raw reads:

I aligned the using bowtie2 aligner. my commands are as follows:
bowtie2 -x hamster_index -1 SRR40216_1.fastq -2 SRR40216_2.fastq -S hamster.sam
samtools view -bS hamster.sam > hamster.bam
samtools sort hamster.bam hamster.sorted
samtools mpileup -C50 -uf GCF_000349665.1_MesAur1.0_genomic.fna hamster.sorted.bam | bcftools call -c - | vcf2fq -d 10 -D 100 | gzip > hamster.diploid.fq.gz
fq2psmcfa -q20 hamster.diploid.fq.gz > hamster.diploid.psmcfa
psmc -N25 -t15 -r5 -p "4+25*2+4+6" -o diploid.psmc hamster.diploid.psmcfa diploid.psmc | > (here problem arises: ** Illegal division by zero at /usr/bin/ line 48, <> line 31.)

then I checked my diploid.psmc file and found there are two columns with values only 0. (attached)
Any idea why I am getting this??? I followed same pipeline for other organisms like horse, dog etc. and got good results.

Best Regards
Attached Images
File Type: png Screenshot.png (93.2 KB, 5 views)
zillur is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 09:25 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO