diff --git a/config/organise_config/organise_runfolder.yml b/config/organise_config/organise_runfolder.yml index 78c1cb2..3b85431 100644 --- a/config/organise_config/organise_runfolder.yml +++ b/config/organise_config/organise_runfolder.yml @@ -2,29 +2,30 @@ #Input: runfolder_name #Currently named runfolderpath and runfolder to harmonize with rnaseq config by Monika, but for specific runfolder delivery, technically, these could be "merged" to one. -runfolderpath: /proj/ngi2016001/incoming -runfolder: / -organised: /Projects/ +variables: + runfolderpath: /proj/ngi2016001/incoming + runfolder: "{runfolderpath}/{runfolder_name}" + organised: "{runfolder}/Projects/" #current path is /proj/ngi2016001/incoming//Projects/// #The following is based on that we are to keep the same directory structure as above. files_to_organize: #The fastq files - - source: /Unaligned/* - destination: /(?P=projectid)//Sample_(?P=samplename)/ + - source: "{runfolder}/Unaligned/*" + destination: "{organised}/{projectid}/{runfolder_name}/Sample_{samplename}/" options: required: True - symlink: True - regexp: (?P[\w-]+)/Sample_(?P[\w-]+)/(?P=samplename)_S(?P\d+)_L(?P\d+)_R(?P\d)_001.fastq.gz + link_type: softlink + regex: (?P[\w-]+)/Sample_(?P[\w-]+)/(?P=samplename)_S(?P\d+)_L(?P\d+)_R(?P\d)_001.fastq.gz #The MultiQC files - - source: /seqreports/project/* - destination: /(?P=projectid)// + - source: "{runfolder}/seqreports/project/*" + destination: "{organised}/{projectid}//" options: required: True - symlink: True - regexp: (?P[\w-]+)/(?P\w+)_(?P=projectid)_multiqc_report[\w.-]+ + link_type: softlink + regexp: (?P[\w-]+)/\w+_(?P=projectid)_multiqc_report[\w.-]+