changeset 12:849ab444b4f1 draft

Uploaded
author chrisw
date Wed, 13 Feb 2019 15:51:45 -0500
parents 35ed7314038d
children af1f49e5242d
files Snakefile monorail.xml
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Snakefile	Wed Feb 13 15:43:07 2019 -0500
+++ b/Snakefile	Wed Feb 13 15:51:45 2019 -0500
@@ -14,6 +14,9 @@
          'all.exon_bw_count.zst', 'unique.exon_bw_count.zst',
          'manifest']
 
+import os
+config['output']=os.path.abspath(config['output'])
+
 import subprocess
 def run_command(cmd_args):
     cmd_args = ' '.join(cmd_args)
@@ -26,7 +29,6 @@
 
 import re
 FASTQ_PATT=re.compile(r'([^_\.]+)(_(\d+))?\.((fastq)|fq)(\.gz)?$')
-import os
 def prep_for_galaxy_run():
     try:
         os.mkdir(config['temp'])
@@ -37,7 +39,7 @@
     run_acc = 'sample'
     if m is not None:
         run_acc = m.group(1)
-    study_acc = run_acc
+    study_acc = 'study'
     if 'study' in config:
         study_acc = config['study']
     genome = 'hg38'
--- a/monorail.xml	Wed Feb 13 15:43:07 2019 -0500
+++ b/monorail.xml	Wed Feb 13 15:51:45 2019 -0500
@@ -19,7 +19,7 @@
                             inputs="$singlePaired.input1,$singlePaired.input2"
                         #end if
                     #end if
-                    output="./"
+                    output="."
                     temp="./tmp"
                     ref="$refGenomeSource.GTFconditional.genomeDir.fields.path"
                     genome="ath10"