# HG changeset patch # User estrain # Date 1676394687 18000 # Node ID 496f5f2b5e75415e10fa92ef2d3fcacee2bc3500 # Parent 3513b93ebe6a8b06b3f9301d4dba806a0fd4c62b Uploaded diff -r 3513b93ebe6a -r 496f5f2b5e75 seqsero2.xml --- a/seqsero2.xml Tue Sep 03 12:40:46 2019 -0400 +++ b/seqsero2.xml Tue Feb 14 12:11:27 2023 -0500 @@ -1,49 +1,63 @@ - + Salmonella serotype prediction + + 1.2.1 + - python - biopython - blast - samtools - sra-tools - bwa - spades - bedtools + seqsero2 forward.fastq; - #set $forward = './forward.fastq' - #end if - #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz') - gunzip -c $reverse > reverse.fastq; - #set $reverse = './reverse.fastq' - #end if + #set $name = $reads.forward.name.split('.')[0].replace(' ','_') + #set $forward = $reads.forward + #set $reverse = $reads.reverse + #set $infile = $name + "_1.fastq " + $name + "_2.fastq" + #set $tval = 2 + #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz') + gunzip -c $reverse > reverse.fastq; + #set $reverse = './reverse.fastq' + gunzip -c $forward > forward.fastq; + #set $forward = './forward.fastq' + #end if ln -s $forward ${name}_1.fastq; ln -s $reverse ${name}_2.fastq; - mkdir ./output; - touch output/SeqSero_log.txt ; - python $__tool_directory__/SeqSero2/SeqSero2_package.py - -p \${GALAXY_SLOTS:-4} - -t 2 + #else if $reads.reads_select == 'collection' + #set $name = $reads.coll.name.replace(' ', '_') + #set $forward = $reads.coll.forward + #set $reverse = $reads.coll.reverse + #set $infile = $name + "_1.fastq " + $name + "_2.fastq" + #set $tval = 2 + #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz') + gunzip -c $reverse > reverse.fastq; + #set $reverse = './reverse.fastq' + gunzip -c $forward > forward.fastq; + #set $forward = './forward.fastq' + #end if + ln -s $forward ${name}_1.fastq; + ln -s $reverse ${name}_2.fastq; + #else + #set $name = $reads.assembly.name.replace(' ', '_') + #set $ga = $reads.assembly + #set $infile = $name + ".fasta" + ln -s $ga ${name}.fasta; + #set $tval = 4 + #set $mode='k' + #end if + echo $name ; + echo "-=-=-=-=-" ; + touch output/SeqSero_log.txt ; + SeqSero2_package.py + -p \${GALAXY_SLOTS:-1} + -t $tval -m $mode -d ./output #if $mode == 'a': -b $maptype #end if - -i ${name}_1.fastq ${name}_2.fastq && + -i $infile && echo "-=-=-=-=-" && cat output/SeqSero_log.txt && echo "-=-=-=-=-" && @@ -52,9 +66,10 @@ - + + @@ -63,6 +78,9 @@ + + + - - + + @@ -88,7 +106,7 @@ - +