This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to pool two fasta files of biological replicates in Linux?

'Two biological replicates of HG and LG reads were pooled together for a de novo transcriptome assembly." - how to pool two fasta files of RNa-seq in Linux?

rna-seq

1 answer

how to pool two fasta files of RNa-seq in Linux?

You can simply

cat file1.fa file2.fa > one_file.fa.

Yes. But if you have paired-end data from multiple lanes (or whatever you are trying to get into one file) you need to follow the same order for R1/R2 files when you cat the datafiles.

cat lane1_R1_fq.gz lane2_R1_fq.gz > R1.fq.gz
cat lane1_R2_fq.gz lane2_R2_fq.gz > R2.fq.gz

Log in to answer this question.