PacBio Data, Fastq File, FASTA
2
0
Entering edit mode
17 months ago

I possess a Pacbio data FASTA file, and my intention is to transform it into the fastq file format. I desire to execute this conversion on a Linux system.

Your positive comments are highly appreciated. Thank you..

format Fastq PacBiodata FASTA • 1.2k views
ADD COMMENT
3
Entering edit mode
17 months ago
GenoMax 147k

You can use reformat.sh from BBMap suite like so.

reformat.sh -Xmx4g in=your.fa out=out.fq qfake=30

Keep in mind that every base gets the Q score of 30, which is fake.

ADD COMMENT
0
Entering edit mode

Bundle of Thanks

ADD REPLY
1
Entering edit mode
17 months ago

Since the FASTQ format needs information that is not present in FASTA you can't quite make a real FASTQ file, but you can make a fake FASTQ file by adding made up qualities.

You could use a tool like seqtk

seqtk seq
       ...
        -F CHAR   fake FASTQ quality []
      ...

for example if test.fa contains:

>sequence
ATGC

then

 seqtk seq test.fa -F I

prints:

@sequence
ATGC
+
IIII
ADD COMMENT
0
Entering edit mode

Bundle of thanks

ADD REPLY

Login before adding your answer.

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