Entering edit mode
3.4 years ago
santos48
▴
40
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?
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 gzipOkey 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?