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 gzip
ls *fastq > all_files
split -l 100 all_files files.
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?
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy