Hi guys,
im sorry to bother you again with BFAST but im completely lost already. I would really appreciate some help.
I have SOLID PE data 50x35bp. I did the following:
1. created the CS index
2. created reads.fastq file from the F3 and F5 files:
@427_47_96
T3...2..2302232.3...3.0332212.22.211.220222...3.222
+
%!!!%!!%&&(%%%!%!!!(!&%)%&%(!%%!'%%!'%&%%%!!!%!%%%
@427_47_96
T.0.32222332.21222.22220.2..32322002
+
!+!(&%(%&%%!)%%%%!%%%%(!%!!%%%%%&*%
3. bfast match -f hg19.fa -r reads.fastq -A 1 -s 1 -e 250000 -w 0 -n 10 > reads.bmf
4. bfast localalign -f hg19.fa -m reads.bmf -A 1 -s 1 -e 250000 -n 10 -U > reads.baf
5. bfast postprocess -f hg19.fa -i reads.baf -a 3 -A 1 -Y 0 -n 10 -O 1 > reads.sam
6. samtools view -bS reads.sam > reads.bam
7. samtools sort reads.bam reads.sorted
8. samtools flagstat reads.sorted.bam
However i always get this in my flagstat:
500000 + 0 in total (QC-passed reads + QC-failed reads)
0 + 0 duplicates
175413 + 0 mapped (35.08%:-nan%)
500000 + 0 paired in sequencing
250000 + 0 read1
250000 + 0 read2
0 + 0 properly paired (0.00%:-nan%)
0 + 0 with itself and mate mapped
175413 + 0 singletons (35.08%:-nan%)
0 + 0 with mate mapped to a different chr
0 + 0 with mate mapped to a different chr (mapQ>=5)
No properly paired reads. It doesnt matter what kind of options i give to BFAST it always ends without properly paired reads.
During postprocessing i get this error which i have no idea what it means hence no idea what can i do in order to prevent it:
Postprocessing...
************************************************************
Estimating paired end distance...
Found only 0 distances to infer the insert size distribution
************************************************************
In function "GetPEDBins": Warning[OutOfRange]. Variable/Value: b->numDistances.
Message: Not enough distances to infer insert size distribution.
***** Warning *****
************************************************************
Am i doing something wrong? How should i proceed? Please help!
Thank you very much in advance!!!
im sorry to bother you again with BFAST but im completely lost already. I would really appreciate some help.
I have SOLID PE data 50x35bp. I did the following:
1. created the CS index
2. created reads.fastq file from the F3 and F5 files:
@427_47_96
T3...2..2302232.3...3.0332212.22.211.220222...3.222
+
%!!!%!!%&&(%%%!%!!!(!&%)%&%(!%%!'%%!'%&%%%!!!%!%%%
@427_47_96
T.0.32222332.21222.22220.2..32322002
+
!+!(&%(%&%%!)%%%%!%%%%(!%!!%%%%%&*%
3. bfast match -f hg19.fa -r reads.fastq -A 1 -s 1 -e 250000 -w 0 -n 10 > reads.bmf
4. bfast localalign -f hg19.fa -m reads.bmf -A 1 -s 1 -e 250000 -n 10 -U > reads.baf
5. bfast postprocess -f hg19.fa -i reads.baf -a 3 -A 1 -Y 0 -n 10 -O 1 > reads.sam
6. samtools view -bS reads.sam > reads.bam
7. samtools sort reads.bam reads.sorted
8. samtools flagstat reads.sorted.bam
However i always get this in my flagstat:
500000 + 0 in total (QC-passed reads + QC-failed reads)
0 + 0 duplicates
175413 + 0 mapped (35.08%:-nan%)
500000 + 0 paired in sequencing
250000 + 0 read1
250000 + 0 read2
0 + 0 properly paired (0.00%:-nan%)
0 + 0 with itself and mate mapped
175413 + 0 singletons (35.08%:-nan%)
0 + 0 with mate mapped to a different chr
0 + 0 with mate mapped to a different chr (mapQ>=5)
No properly paired reads. It doesnt matter what kind of options i give to BFAST it always ends without properly paired reads.
During postprocessing i get this error which i have no idea what it means hence no idea what can i do in order to prevent it:
Postprocessing...
************************************************************
Estimating paired end distance...
Found only 0 distances to infer the insert size distribution
************************************************************
In function "GetPEDBins": Warning[OutOfRange]. Variable/Value: b->numDistances.
Message: Not enough distances to infer insert size distribution.
***** Warning *****
************************************************************
Am i doing something wrong? How should i proceed? Please help!
Thank you very much in advance!!!
Comment