My question is regarding concatenating two gene sequences into a combined file. Here are four of example file names
IMB211_trasncripts.renamed-20175.fa
IMB211_trasncripts.renamed-20176.fa
R500_trasncripts.renamed-20175.fa
R500_trasncripts.renamed-20176.fa
Basically i want to concatenate IMB211_trasncripts.renamed-20175.fa
with R500_trasncripts.renamed-20175.fa
and IMB211_trasncripts.renamed-20176.fa
with R500_trasncripts.renamed-20176.fa
. I know this is simple using cat
command.
cat MB211_trasncripts.renamed-20175.fa R500_trasncripts.renamed-20175.fa > test_comb-20175.fa
However i have around 40 thousand genes like these (each for IMB211 and R500) and so i am wondering is there a easy way around to concatenate these files into one file specific for each gene id?
Thanks