Copying selective fastq files from a dir to another
0
0
Entering edit mode
4.8 years ago

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

sequencing • 1.4k views
ADD COMMENT
0
Entering edit mode

I think this will do:

cp RAPiD-Genomics_HL5NLBBXX_PFR_100901_P01_WF1* destination/

Perhaps you can also provide the example files that you don't want.

ADD REPLY
0
Entering edit mode

Great, it worked very well- just added bsub to the start to put the job on back end, cheers

ADD REPLY

Login before adding your answer.

Traffic: 2768 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6