Splitting Big Fastq directory into smaller parts
0
0
Entering edit mode
13 days ago
santos48 ▴ 30

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 • 230 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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?

ADD REPLY

Login before adding your answer.

Traffic: 1664 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6