This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Splitting Big Fastq directory into smaller parts

Hi everyone, I have 1000 fastq files, it's reading by Nanopore Sequencing. I want to compress every 100 fastq files into one fastqz file. How to split it?

gzip nanopore rna-seq fastq

do you have a pattern in the file names? otherwise it is simple to get a list of files (ls *fastq > all_files), then generate sublists with 100 files (split -l 100 all_files files.) and use a concatenation of files to pass to gzip

Okey thank you for answer I want to ask question how to gzip 100 fastq file into one fastqz

cat *.fastq | gzip > new.fastq.gz

Thank you this is what I am searching for. I want to make a limited number of fastq files into fastqc.gz, what can I do for this? Should I write bash?

0 answers

No answers yet.

Log in to answer this question.