[Code] Converte fasta/fa files to fastq
0
0
Entering edit mode
6.9 years ago
Shicheng Guo ★ 9.2k

Hey genius,

Throw me a powerful code to converting fasta/fa files to fastq.

One line perl code or one line sed, awk would be prefer. Of course, other multiple lines code is also welcome.

BTW: base qualities could be use artificial "I" or "F"

Thanks.

perl fastq sed fasta • 1.8k views
ADD COMMENT
4
Entering edit mode

Very powerful code:

reformat.sh in=reads.fas out=reads.fastq qfake=30
ADD REPLY
4
Entering edit mode

You may want to give a bit more thought to how you frame questions. Statements online do not include your tone, so we cannot be sure if you're being sarcastic, cocky, speaking with assumed superiority, trying to be friendly or even earnest. You're better off using professional language that is tone-agnostic.

ADD REPLY
1
Entering edit mode

With made-up per-base qualities?

ADD REPLY
0
Entering edit mode

Sure. maybe artificial "I" or "F" would be good.

ADD REPLY

Login before adding your answer.

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