Solved and abstract will be submitted shortly; thanks for your courteous help and attention!
Original Content (added back by @RamRS after OP deleted it):
Biostars,
I will soon have a directory of about 10 Tb with approximately 180,000 .fna files representing the PATRIC database. I have a .txt file that is in list form, with each of the accession numbers that form the prefix for the .fna names for each file. eg-
573.14498
573.14499
573.145
file names correspond, viz-
573.14498.fna
573.14499.fna
573.145.fna
I would like to concatenate files so that they are approximately 1 Gb each. That means, I would like approximately 1000 multi fastas where there are now 180,000.
What is the best scripting or command strategy or utility to accomplish this task. I admit this is starting to take up more space than I have available on my RAID, so some simultaneous concatenation and compression would be desirable.
Best,
Bert Gold, PhD, FACMGG, CGMB San Mateo