Skip to content

Commit

Permalink
Update runfolder config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aratz committed Sep 14, 2023
1 parent ca0608f commit 1822c5f
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions config/organise_config/organise_runfolder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: <RUNFOLDERPATH>/<RUNFOLDER_NAME>
organised: <RUNFOLDER>/Projects/
variables:
runfolderpath: /proj/ngi2016001/incoming
runfolder: "{runfolderpath}/{runfolder_name}"
organised: "{runfolder}/Projects/"

#current path is /proj/ngi2016001/incoming/<RUNFOLDER>/Projects/<PROJECT>/<RUNFOLDER>/
#The following is based on that we are to keep the same directory structure as above.
files_to_organize:

#The fastq files
- source: <RUNFOLDER>/Unaligned/*
destination: <ORGANISED>/(?P=projectid)/<RUNFOLDER_NAME>/Sample_(?P=samplename)/
- source: "{runfolder}/Unaligned/*"
destination: "{organised}/{projectid}/{runfolder_name}/Sample_{samplename}/"
options:
required: True
symlink: True
regexp: (?P<projectid>[\w-]+)/Sample_(?P<samplename>[\w-]+)/(?P=samplename)_S(?P<samplenumber>\d+)_L(?P<lanes>\d+)_R(?P<read>\d)_001.fastq.gz
link_type: softlink
regex: (?P<projectid>[\w-]+)/Sample_(?P<samplename>[\w-]+)/(?P=samplename)_S(?P<samplenumber>\d+)_L(?P<lanes>\d+)_R(?P<read>\d)_001.fastq.gz

#The MultiQC files
- source: <RUNFOLDER>/seqreports/project/*
destination: <ORGANISED>/(?P=projectid)/<RUNFOLDER_NAME>/
- source: "{runfolder}/seqreports/project/*"
destination: "{organised}/{projectid}/<runfolder_name>/"
options:
required: True
symlink: True
regexp: (?P<projectid>[\w-]+)/(?P<RUNFOLDER_NAME>\w+)_(?P=projectid)_multiqc_report[\w.-]+
link_type: softlink
regexp: (?P<projectid>[\w-]+)/\w+_(?P=projectid)_multiqc_report[\w.-]+



Expand Down

0 comments on commit 1822c5f

Please sign in to comment.