comparison riboplot.xml @ 2:b6fd86c539ea

Fix pysam version in riboplot (was 0.7.7 instead of 0.8.3). Fix move sys import to the top in ribocount.py, riboplot.py. Minor: * Include an empty conditional when no RNA coverage is required. * Remove output directories after zip file is created.
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Thu, 02 Jul 2015 11:53:59 +0100
parents 1e9797878349
children
comparison
equal deleted inserted replaced
1:1e9797878349 2:b6fd86c539ea
1 <tool id="riboplot" name="riboplot" version="0.1.0"> 1 <tool id="riboplot" name="riboplot" version="0.1.0">
2 <description>Plot and output read counts for a single transcript in an alignment (BAM) 2 <description>Plot and output read counts for a single transcript in an alignment (BAM)
3 </description> 3 </description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="1.2.1">matplotlib</requirement> 5 <requirement type="package" version="1.2.1">matplotlib</requirement>
6 <requirement type="package" version="0.7.7">pysam</requirement> 6 <requirement type="package" version="0.8.3">pysam</requirement>
7 </requirements> 7 </requirements>
8 <stdio> 8 <stdio>
9 <exit_code range="1:" level="fatal" description="Error" /> 9 <exit_code range="1:" level="fatal" description="Error" />
10 </stdio> 10 </stdio>
11 <command interpreter="python">./riboplot/riboplot.py 11 <command interpreter="python">riboplot/riboplot.py
12 --ribo_file "${ribo_file}" 12 --ribo_file "${ribo_file}"
13 --transcriptome_fasta "${transcriptome_fasta}" 13 --transcriptome_fasta "${transcriptome_fasta}"
14 --transcript_name "${transcript_name}" 14 --transcript_name "${transcript_name}"
15 #if $rnacov.rnacov_select=="yes" 15 #if $rnacov.rnacov_select=="yes"
16 --rna_file "${rna_file}" 16 --rna_file "${rna_file}"
39 <option value="yes">Yes</option> 39 <option value="yes">Yes</option>
40 </param> 40 </param>
41 <when value="yes"> 41 <when value="yes">
42 <param name="rna_file" type="data" format="bam" label="RNA-Seq alignment file in BAM format"/> 42 <param name="rna_file" type="data" format="bam" label="RNA-Seq alignment file in BAM format"/>
43 </when> 43 </when>
44 <when value="no" />
44 </conditional> 45 </conditional>
45 <param name="read_length" type="integer" label="Read length to consider" value="28"/> 46 <param name="read_length" type="integer" label="Read length to consider" value="28"/>
46 <param name="read_offset" type="integer" label="Offset" value="0"/> 47 <param name="read_offset" type="integer" label="Offset" value="0"/>
47 </inputs> 48 </inputs>
48 <outputs> 49 <outputs>