Skip to content

Commit

Permalink
copy instead of symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Apr 12, 2024
1 parent 6c619cc commit f34c79c
Show file tree
Hide file tree
Showing 151 changed files with 333 additions and 333 deletions.
14 changes: 7 additions & 7 deletions tools/openms/AccurateMassSearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
#if "out_annotation_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir out_annotation &&
#end if
#if $positive_adducts:
mkdir positive_adducts &&
ln -s '$positive_adducts' 'positive_adducts/${re.sub("[^\w\-_]", "_", $positive_adducts.element_identifier)}.$gxy2omsext($positive_adducts.ext)' &&
cp '$positive_adducts' 'positive_adducts/${re.sub("[^\w\-_]", "_", $positive_adducts.element_identifier)}.$gxy2omsext($positive_adducts.ext)' &&
#end if
#if $negative_adducts:
mkdir negative_adducts &&
ln -s '$negative_adducts' 'negative_adducts/${re.sub("[^\w\-_]", "_", $negative_adducts.element_identifier)}.$gxy2omsext($negative_adducts.ext)' &&
cp '$negative_adducts' 'negative_adducts/${re.sub("[^\w\-_]", "_", $negative_adducts.element_identifier)}.$gxy2omsext($negative_adducts.ext)' &&
#end if
#if $db.mapping_cond.mapping:
mkdir db.mapping_cond.mapping &&
#if $db.mapping_cond.mapping_select == "no"
mkdir ${' '.join(["'db.mapping_cond.mapping/%s'" % (i) for i, f in enumerate($db.mapping_cond.mapping) if f])} &&
${' '.join(["ln -s '%s' 'db.mapping_cond.mapping/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($db.mapping_cond.mapping) if f])}
${' '.join(["cp '%s' 'db.mapping_cond.mapping/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($db.mapping_cond.mapping) if f])}
#else
ln -s '$db.mapping_cond.mapping' 'db.mapping_cond.mapping/${re.sub("[^\w\-_]", "_", $db.mapping_cond.mapping.element_identifier)}.$gxy2omsext($db.mapping_cond.mapping.ext)' &&
cp '$db.mapping_cond.mapping' 'db.mapping_cond.mapping/${re.sub("[^\w\-_]", "_", $db.mapping_cond.mapping.element_identifier)}.$gxy2omsext($db.mapping_cond.mapping.ext)' &&
#end if
#end if
#if $db.struct_cond.struct:
mkdir db.struct_cond.struct &&
#if $db.struct_cond.struct_select == "no"
mkdir ${' '.join(["'db.struct_cond.struct/%s'" % (i) for i, f in enumerate($db.struct_cond.struct) if f])} &&
${' '.join(["ln -s '%s' 'db.struct_cond.struct/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($db.struct_cond.struct) if f])}
${' '.join(["cp '%s' 'db.struct_cond.struct/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($db.struct_cond.struct) if f])}
#else
ln -s '$db.struct_cond.struct' 'db.struct_cond.struct/${re.sub("[^\w\-_]", "_", $db.struct_cond.struct.element_identifier)}.$gxy2omsext($db.struct_cond.struct.ext)' &&
cp '$db.struct_cond.struct' 'db.struct_cond.struct/${re.sub("[^\w\-_]", "_", $db.struct_cond.struct.element_identifier)}.$gxy2omsext($db.struct_cond.struct.ext)' &&
#end if
#end if
Expand Down
8 changes: 4 additions & 4 deletions tools/openms/AssayGeneratorMetabo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
mkdir in_cond.in &&
#if $in_cond.in_select == "no"
mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
#else
ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
#end if
mkdir in_id_cond.in_id &&
#if $in_id_cond.in_id_select == "no"
mkdir ${' '.join(["'in_id_cond.in_id/%s'" % (i) for i, f in enumerate($in_id_cond.in_id) if f])} &&
${' '.join(["ln -s '%s' 'in_id_cond.in_id/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_id_cond.in_id) if f])}
${' '.join(["cp '%s' 'in_id_cond.in_id/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_id_cond.in_id) if f])}
#else
ln -s '$in_id_cond.in_id' 'in_id_cond.in_id/${re.sub("[^\w\-_]", "_", $in_id_cond.in_id.element_identifier)}.$gxy2omsext($in_id_cond.in_id.ext)' &&
cp '$in_id_cond.in_id' 'in_id_cond.in_id/${re.sub("[^\w\-_]", "_", $in_id_cond.in_id.element_identifier)}.$gxy2omsext($in_id_cond.in_id.ext)' &&
#end if
mkdir out &&
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/BaselineFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
6 changes: 3 additions & 3 deletions tools/openms/CVInspector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
mkdir cv_files_cond.cv_files &&
#if $cv_files_cond.cv_files_select == "no"
mkdir ${' '.join(["'cv_files_cond.cv_files/%s'" % (i) for i, f in enumerate($cv_files_cond.cv_files) if f])} &&
${' '.join(["ln -s '%s' 'cv_files_cond.cv_files/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($cv_files_cond.cv_files) if f])}
${' '.join(["cp '%s' 'cv_files_cond.cv_files/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($cv_files_cond.cv_files) if f])}
#else
ln -s '$cv_files_cond.cv_files' 'cv_files_cond.cv_files/${re.sub("[^\w\-_]", "_", $cv_files_cond.cv_files.element_identifier)}.$gxy2omsext($cv_files_cond.cv_files.ext)' &&
cp '$cv_files_cond.cv_files' 'cv_files_cond.cv_files/${re.sub("[^\w\-_]", "_", $cv_files_cond.cv_files.element_identifier)}.$gxy2omsext($cv_files_cond.cv_files.ext)' &&
#end if
mkdir mapping_file &&
ln -s '$mapping_file' 'mapping_file/${re.sub("[^\w\-_]", "_", $mapping_file.element_identifier)}.$gxy2omsext($mapping_file.ext)' &&
cp '$mapping_file' 'mapping_file/${re.sub("[^\w\-_]", "_", $mapping_file.element_identifier)}.$gxy2omsext($mapping_file.ext)' &&
#if "html_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir html &&
#end if
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/ClusterMassTraces.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/ClusterMassTracesByPrecursor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
## Preprocessing
mkdir in_ms1 &&
ln -s '$in_ms1' 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' &&
cp '$in_ms1' 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' &&
mkdir in_swath &&
ln -s '$in_swath' 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' &&
cp '$in_swath' 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' &&
mkdir out &&
## Main program call
Expand Down
6 changes: 3 additions & 3 deletions tools/openms/CometAdapter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
mkdir database &&
ln -s '$database' 'database/${re.sub("[^\w\-_]", "_", $database.element_identifier)}.$gxy2omsext($database.ext)' &&
cp '$database' 'database/${re.sub("[^\w\-_]", "_", $database.element_identifier)}.$gxy2omsext($database.ext)' &&
#if "pin_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir pin_out &&
#end if
#if $default_params_file:
mkdir default_params_file &&
ln -s '$default_params_file' 'default_params_file/${re.sub("[^\w\-_]", "_", $default_params_file.element_identifier)}.$gxy2omsext($default_params_file.ext)' &&
cp '$default_params_file' 'default_params_file/${re.sub("[^\w\-_]", "_", $default_params_file.element_identifier)}.$gxy2omsext($default_params_file.ext)' &&
#end if
## Main program call
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/ConsensusID.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
mkdir in_cond.in &&
#if $in_cond.in_select == "no"
mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
#else
ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
#end if
mkdir out &&
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/ConsensusMapNormalizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/DTAExtractor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
## Main program call
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/DatabaseFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir id &&
ln -s '$id' 'id/${re.sub("[^\w\-_]", "_", $id.element_identifier)}.$gxy2omsext($id.ext)' &&
cp '$id' 'id/${re.sub("[^\w\-_]", "_", $id.element_identifier)}.$gxy2omsext($id.ext)' &&
mkdir out &&
## Main program call
Expand Down
10 changes: 5 additions & 5 deletions tools/openms/DatabaseSuitability.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
## Preprocessing
mkdir in_id &&
ln -s '$in_id' 'in_id/${re.sub("[^\w\-_]", "_", $in_id.element_identifier)}.$gxy2omsext($in_id.ext)' &&
cp '$in_id' 'in_id/${re.sub("[^\w\-_]", "_", $in_id.element_identifier)}.$gxy2omsext($in_id.ext)' &&
mkdir in_spec &&
ln -s '$in_spec' 'in_spec/${re.sub("[^\w\-_]", "_", $in_spec.element_identifier)}.$gxy2omsext($in_spec.ext)' &&
cp '$in_spec' 'in_spec/${re.sub("[^\w\-_]", "_", $in_spec.element_identifier)}.$gxy2omsext($in_spec.ext)' &&
mkdir in_novo &&
ln -s '$in_novo' 'in_novo/${re.sub("[^\w\-_]", "_", $in_novo.element_identifier)}.$gxy2omsext($in_novo.ext)' &&
cp '$in_novo' 'in_novo/${re.sub("[^\w\-_]", "_", $in_novo.element_identifier)}.$gxy2omsext($in_novo.ext)' &&
mkdir database &&
ln -s '$database' 'database/${re.sub("[^\w\-_]", "_", $database.element_identifier)}.$gxy2omsext($database.ext)' &&
cp '$database' 'database/${re.sub("[^\w\-_]", "_", $database.element_identifier)}.$gxy2omsext($database.ext)' &&
mkdir novo_database &&
ln -s '$novo_database' 'novo_database/${re.sub("[^\w\-_]", "_", $novo_database.element_identifier)}.$gxy2omsext($novo_database.ext)' &&
cp '$novo_database' 'novo_database/${re.sub("[^\w\-_]", "_", $novo_database.element_identifier)}.$gxy2omsext($novo_database.ext)' &&
#if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir out &&
#end if
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/DeMeanderize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/Decharger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out_cm &&
#if "out_fm_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir out_fm &&
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/DecoyDatabase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
mkdir in_cond.in &&
#if $in_cond.in_select == "no"
mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
#else
ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
#end if
mkdir out &&
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/Digestor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/DigestorMotif.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
10 changes: 5 additions & 5 deletions tools/openms/EICExtractor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
mkdir in_cond.in &&
#if $in_cond.in_select == "no"
mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
#else
ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
#end if
#if $in_header_cond.in_header:
mkdir in_header_cond.in_header &&
#if $in_header_cond.in_header_select == "no"
mkdir ${' '.join(["'in_header_cond.in_header/%s'" % (i) for i, f in enumerate($in_header_cond.in_header) if f])} &&
${' '.join(["ln -s '%s' 'in_header_cond.in_header/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_header_cond.in_header) if f])}
${' '.join(["cp '%s' 'in_header_cond.in_header/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_header_cond.in_header) if f])}
#else
ln -s '$in_header_cond.in_header' 'in_header_cond.in_header/${re.sub("[^\w\-_]", "_", $in_header_cond.in_header.element_identifier)}.$gxy2omsext($in_header_cond.in_header.ext)' &&
cp '$in_header_cond.in_header' 'in_header_cond.in_header/${re.sub("[^\w\-_]", "_", $in_header_cond.in_header.element_identifier)}.$gxy2omsext($in_header_cond.in_header.ext)' &&
#end if
#end if
mkdir pos &&
ln -s '$pos' 'pos/${re.sub("[^\w\-_]", "_", $pos.element_identifier)}.$gxy2omsext($pos.ext)' &&
cp '$pos' 'pos/${re.sub("[^\w\-_]", "_", $pos.element_identifier)}.$gxy2omsext($pos.ext)' &&
mkdir out &&
#if "out_debug_TIC_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir auto_rt_out_debug_TIC &&
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/ERPairFinder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir pair_in &&
ln -s '$pair_in' 'pair_in/${re.sub("[^\w\-_]", "_", $pair_in.element_identifier)}.$gxy2omsext($pair_in.ext)' &&
cp '$pair_in' 'pair_in/${re.sub("[^\w\-_]", "_", $pair_in.element_identifier)}.$gxy2omsext($pair_in.ext)' &&
mkdir out &&
#if "feature_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir feature_out &&
Expand Down
6 changes: 3 additions & 3 deletions tools/openms/Epifany.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
mkdir in_cond.in &&
#if $in_cond.in_select == "no"
mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
#else
ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
#end if
#if $exp_design:
mkdir exp_design &&
ln -s '$exp_design' 'exp_design/${re.sub("[^\w\-_]", "_", $exp_design.element_identifier)}.$gxy2omsext($exp_design.ext)' &&
cp '$exp_design' 'exp_design/${re.sub("[^\w\-_]", "_", $exp_design.element_identifier)}.$gxy2omsext($exp_design.ext)' &&
#end if
mkdir out &&
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/ExternalCalibration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/FLASHDeconv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
#if "out_spec_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir out_spec &&
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/FalseDiscoveryRate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
4 changes: 2 additions & 2 deletions tools/openms/FeatureFinderCentroided.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
#if $seeds:
mkdir seeds &&
ln -s '$seeds' 'seeds/${re.sub("[^\w\-_]", "_", $seeds.element_identifier)}.$gxy2omsext($seeds.ext)' &&
cp '$seeds' 'seeds/${re.sub("[^\w\-_]", "_", $seeds.element_identifier)}.$gxy2omsext($seeds.ext)' &&
#end if
#if "out_mzq_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
mkdir out_mzq &&
Expand Down
8 changes: 4 additions & 4 deletions tools/openms/FeatureFinderIdentification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir id &&
ln -s '$id' 'id/${re.sub("[^\w\-_]", "_", $id.element_identifier)}.$gxy2omsext($id.ext)' &&
cp '$id' 'id/${re.sub("[^\w\-_]", "_", $id.element_identifier)}.$gxy2omsext($id.ext)' &&
#if $id_ext:
mkdir id_ext &&
ln -s '$id_ext' 'id_ext/${re.sub("[^\w\-_]", "_", $id_ext.element_identifier)}.$gxy2omsext($id_ext.ext)' &&
cp '$id_ext' 'id_ext/${re.sub("[^\w\-_]", "_", $id_ext.element_identifier)}.$gxy2omsext($id_ext.ext)' &&
#end if
mkdir out &&
#if "lib_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
Expand All @@ -37,7 +37,7 @@ mkdir out &&
## advanced options
#if $adv_opts.candidates_in:
mkdir adv_opts.candidates_in &&
ln -s '$adv_opts.candidates_in' 'adv_opts.candidates_in/${re.sub("[^\w\-_]", "_", $adv_opts.candidates_in.element_identifier)}.$gxy2omsext($adv_opts.candidates_in.ext)' &&
cp '$adv_opts.candidates_in' 'adv_opts.candidates_in/${re.sub("[^\w\-_]", "_", $adv_opts.candidates_in.element_identifier)}.$gxy2omsext($adv_opts.candidates_in.ext)' &&
#end if
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/FeatureFinderIsotopeWavelet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
2 changes: 1 addition & 1 deletion tools/openms/FeatureFinderMRM.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&
## Main program call
Expand Down
Loading

0 comments on commit f34c79c

Please sign in to comment.