Prinseq lite data preprocessing
2
1
Entering edit mode
2.1 years ago

Hello everyone..

I am learning RNA seq analysis. Firstly, I am using Prinseq lite for preprocessing of data.

I used command:

perl prinseq-lite.pl –fastq read_1.fastq -fastq2 read_2.fastq -out_format 5 -min_len 50 -min_qual_mean 25


I got three output files in same folder for each data file. These are _prinseq_good_singletons_, _prinseq_good_, _prinseq_bad_.

Further, the size of _prinseq_good_ is greater than input data file. Is it OK?

Please suggest me that which file could I use for downstream analysis?

Data rna-seq preprocessing Forum Prinseq lite • 1.5k views
0
Entering edit mode

File sizes are not a good measure of anything by themselves. Does prinseq print a log file or a stats file of some sort? That would be useful in understanding what happens in the run. Also, read the manual - that should describe each output file.

0
Entering edit mode

I am also using prinseq-lite to process my RNA data prior to analysis, and have also noticed that many of my output fastq files are larger than the input fastq files. Did you happen to obtain a satisfactory answer as to why this might be?

Tom

0
Entering edit mode

Are these files gzipped? If so, compression ratios depend on content sorting.

0
Entering edit mode

they are not zipped no. prinseq-lite doesn't accept compressed fastq files as input. having gone through my files, it seems an 18GB input fq file will usually result in a 21GB output fq file. and the larger the input fq file, the larger the increase in size.

wondering if maybe prinseq-lite doesn't actually remove filtered reads, but rather masks them in some way? that's the only thing I could think of as to why this would happen.

0
Entering edit mode

That might actually be the case, Take a look at the first 100 or so headers on the input and output FQs:

sed -n '1~4p;402q' file.fq #command not tested but should work

0
Entering edit mode
2.1 years ago
GenoMax 125k

I am not a prinseq user but based on the names _prinseq_good_singletons_, _prinseq_good_ would be the files you would want. Good are reads where both reads (from R1/R2) survived the trimming. You will want to be cautious about using the singleton file. Most aligners will not allow you to mix paired and singleton reads in the same alignment.

File sizes are never a good metric for anything (unless you are just making sure file produced is not empty). Since your files don't appear to be compressed hopefully the size difference is negligible. Generally compressibility of data results in file size changes as data is lost via trimming/filtering for example.

0
Entering edit mode

0
Entering edit mode
21 months ago
nzulapa • 0

_prinseq_good_singletons_: contain the reads which lost their pairs

_prinseq_good_: contain the remained pairs after removing duplicate, low complexity,...