Entering edit mode
5.5 years ago
jibran.tahir
•
0
Hi I have a directory from were I want to copy selective fastq files. This dir has multiple fastq files which i dont want. Please can someone help in providing the code to do it quick
Here is an example of what I want to capture- the only changing words are "P01_WF10"
RAPiD-Genomics_HL5NLBBXX_PFR_100901_P01_WF10_i5-502_i7-166_S589_L004_R2_001.fastq.gz
RAPiD-Genomics_HL5NLBBXX_PFR_100901_P01_WF11_i5-502_i7-167_S590_L004_R1_001.fastq.gz
I think this will do:
Perhaps you can also provide the example files that you don't want.
Great, it worked very well- just added bsub to the start to put the job on back end, cheers