Thank you for your suggestion now i have changed sub get_phred6. So far earlier issue solved but now problem with IDBA, i am using current version of IDBA V1.1.1
1876358 Sequences
9746 Tags rejected (0.5%) at 29.0% coverage cutoff (0.010000 FDR).
Elapsed time:
131 seconds (130.42 CPU+SYS seconds)
[a5_s2] Building contigs from mygenome.ec.fastq with IDBA
[a5_s2] Building contigs from mygenome.ec.fastq with IDBA
[a5] idba -long mygenome.s2/mygenome.ec.fasta -o mygenome.s2/mygenome --mink 10 --maxk 250
[a5] Error building contigs with IDBA
You should have added to your question or started a new post instead of editing the title and completely changing the question. Now, it is unclear what my answer is about (even though it solved your problem) and if someone else has this issue, it won't be as easy for them to find a solution.