# HG changeset patch # User cstrittmatter # Date 1536845662 14400 # Node ID a368d48a4562f92f17349d87ebdaeda1f476775f # Parent abb622c228c45ad15c2afe646f513db99ef6b3aa planemo upload commit cd1454c40a43ad9da3d59e6ba8359318fc772c43-dirty diff -r abb622c228c4 -r a368d48a4562 run_skesa_collection.py --- a/run_skesa_collection.py Mon Aug 27 08:59:02 2018 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -import sys - -from pathlib import Path - -path1 = sys.argv[1] - -cores = sys.argv[2] - -memory = sys.argv[2] - -print(path1) - -#print(path2) - -pathlist = Path(path1).glob('*fastq*') - -i = 0 -skcmd = [] - -skcmd.append("skesa ") - -for path in pathlist: - # because path is object not string-wq - i += 1 - path_in_str = str(path) - if i == 2: - skcmd.append("," + path_in_str) - #print("," + path_in_str) - i = 0 - if i == 1: - skcmd.append(" --fastq " + path_in_str) - #print(" --fastq " + path_in_str) - - - -if cores != 0: - skcmd.append(" --cores " + cores) - - -skcmd.append(" --memory " + memory) - -skcmds = ''.join(skcmd) -print(skcmds) diff -r abb622c228c4 -r a368d48a4562 skesa.xml --- a/skesa.xml Mon Aug 27 08:59:02 2018 -0400 +++ b/skesa.xml Thu Sep 13 09:34:22 2018 -0400 @@ -1,40 +1,22 @@ - skesa - python + skesa results.skesa.fasta + #else if $jobtype.select == "pe" + --fastq $fastq1,$fastq2 --use_paired_ends #end if - - - #if $jobtype.select == "cl" - - #set $pathOuput = 0 - mkdir temp_data; - #for $collection_file in $jobtype.collection_files - #silent sys.stderr.write($collection_file+"\n") - cp $collection_file temp_data/.; - - #end for - - + #if $cores != 0 + --cores $cores #end if + --memory $memory > results.skesa.fasta + #end if ]]> @@ -43,12 +25,7 @@ - - - - - @@ -59,16 +36,10 @@ - - - - - - - +