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
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:13 AM
|
0 responses
16 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:13 AM
|
||
|
Started by SEQadmin2, Yesterday, 10:48 AM
|
0 responses
15 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 10:48 AM
|
||
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
35 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
42 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
Comment