Hi, I have a question about fastq and fastq.gz files. I understand that fastq.gz is the compressed version of fastq file. Can I combine all the R1.fastq.gz files and R2.fastq.gz separately before feeding it to fastQC ? Thanks.
Unconfigured Ad
Collapse
X
-
Looks like fastqc will use one thread per file. Reading the -help for fastqc it states --threads "Specifies the number of files which can be processed simultaneously". Perhaps upping --threads to equal the number of fastq you have, then giving it all the fastq as inputs is the way to go? Going divide-and-conquer is what you need to do.
The problem with cat'ing all your fastq is that the statistics would be calculated as average of all reads: you might not catch an anomaly in one subset of reads, especially if it gets averaged out by the other three set of reads.Last edited by winsettz; 10-15-2013, 12:00 PM.
Comment
-
I agree that you should probably not merge the files prior to feeding them to FastQC because you run the risk of masking any potential lane specific effects. Apart from that, using cat doesn't work for gzipped files, but you can use zcat to do the same thing. The command should something like this:Originally posted by lala2013 View PostSorry I didn't make it clear. Is it possible to do the following and feed R1.fastq.gz to fastQC?
cat L001_R1.fastq.gz L002_R1.fastq.gz L003_R1.fastq.gz L004_R1.fastq.gz > R1.fastq.gz
Code:zcat L001_R1.fastq.gz L002_R1.fastq.gz L003_R1.fastq.gz L004_R1.fastq.gz | gzip -c - > R1.fastq.gz
Comment
-
I recall that FastQC didn't properly process the resultant file when simply 'cat'ed the gzipped files. The file which you get by concatenating gzipped file still contains some sort of division between the original compressed parts and FastQC would stop when it reached the end of the first block of reads. This was in and earlier version of FastQC and Simon may have addressed this in a later release.Originally posted by vivek_ View PostI think cat does concatenate gzipped files. You don't need to gzip again either.
O.K. I just went to the FastQC site and under the Change Log:
This was added in the last version (0.10.1) so make sure you're using that version if you are concatenating gzipped files.3-5-12: Version 0.10.1 released
Added a workround to allow the analysis of concatenated gzipped files(emphasis mine)
Fixed a bug when FastQC was installed in a path containing characters needing to be escaped in a URL
Added an option to specify the location of the java interpreter on the command lineLast edited by kmcarr; 10-15-2013, 01:33 PM. Reason: Should have read the release notes before posting
Comment
Latest Articles
Collapse
-
by SEQadmin2
CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).
Despite this, “CRISPR helped turn genome editing from a specialized technique into...-
Channel: Articles
07-31-2026, 11:01 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
||
|
Started by SEQadmin2, 08-18-2026, 10:05 AM
|
0 responses
20 views
0 reactions
|
Last Post
by SEQadmin2
08-18-2026, 10:05 AM
|
||
|
Started by SEQadmin2, 08-13-2026, 12:22 PM
|
0 responses
42 views
0 reactions
|
Last Post
by SEQadmin2
08-13-2026, 12:22 PM
|
||
|
Started by SEQadmin2, 08-11-2026, 10:35 AM
|
0 responses
32 views
0 reactions
|
Last Post
by SEQadmin2
08-11-2026, 10:35 AM
|
Comment