cat <(pcat 42/ERP001942/sra.recount_project.ERP001942.MD.gz | head -1) <(pcat 42/ERP001942/sra.recount_project.ERP001942.MD.gz | tail -n+2 | sort -k1,1n) | pigz --fast -p2 > 42/ERP001942/sra.recount_project.ERP001942.MD.gz2 cat <(pcat 66/ERP110066/sra.recount_project.ERP110066.MD.gz | head -1) <(pcat 66/ERP110066/sra.recount_project.ERP110066.MD.gz | tail -n+2 | sort -k1,1n) | pigz --fast -p2 > 66/ERP110066/sra.recount_project.ERP110066.MD.gz2 cat <(pcat 87/SRP186687/sra.recount_project.SRP186687.MD.gz | head -1) <(pcat 87/SRP186687/sra.recount_project.SRP186687.MD.gz | tail -n+2 | sort -k1,1n) | pigz --fast -p2 > 87/SRP186687/sra.recount_project.SRP186687.MD.gz2 cat <(pcat ./87/SRP186687/sra.sra.SRP186687.MD.gz | head -1 | sed 's/\trun_acc\tstudy_acc\t/\texternal_id\tstudy\t/') <(pcat ./87/SRP186687/sra.sra.SRP186687.MD.gz | tail -n+2) | gzip > ./87/SRP186687/sra.sra.SRP186687.MD.gz.1