comparison utils_fix-fasta-headers.xml @ 5:b7cf9b172cfe draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit b97b90c692604239ed6e9423655c6c5d05798b32-dirty
author yhoogstrate
date Wed, 03 Aug 2016 04:54:40 -0400
parents
children 4d16cf9414cf
comparison
equal deleted inserted replaced
4:63df1e23f4ff 5:b7cf9b172cfe
1 <tool id="smf_utils_fix-fasta-headers" name="fix-fasta-headers" version="@VERSION@-1">
2 <description>Replaces all spaces with underscores in the ">.."-sequence headers of a FASTA file</description>
3
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7
8 <requirements>
9 <requirement type="package" version="2.7.10">python</requirement>
10 <requirement type="package" version="1.9">numpy</requirement>
11 <requirement type="package" version="0.8.2.1">pysam</requirement>
12 <requirement type="package" version="0.6.1">htseq</requirement>
13 <requirement type="package" version="2.1.0">segmentation-fold-utils</requirement>
14 </requirements>
15
16 <expand macro="stdio" />
17
18 <version_command>@VERSION_COMMAND_UTILS@</version_command>
19
20 <command><![CDATA[
21 segmentation-fold-utils
22 fix-fasta-headers
23 '${fasta_input}'
24 '${fasta_output}'
25 ]]></command>
26
27 <inputs>
28 <param name="fasta_input"
29 type="data"
30 format="fasta"
31 argument="-f"
32 label="Fasta file with RNA-sequece" />
33 </inputs>
34
35 <outputs>
36 <data format="fasta"
37 name="fasta_output"
38 label="${tool.name} on ${str($fasta_input.hid) + ': ' + $fasta_input.name}" />
39 </outputs>
40
41 <tests>
42 <test>
43 <param name="fasta_input" value="test_22.fa" format="fasta" />
44
45 <output name="fasta_output" file="test_22.fixed.fa" />
46 </test>
47 <test>
48 <param name="fasta_input" value="test_23.fa" format="fasta" />
49
50 <output name="fasta_output" file="test_23.fixed.fa" />
51 </test>
52 </tests>
53
54 <help><![CDATA[
55 Replaces all spaces with underscores in the ">.."-sequence headers of a FASTA file for compatibility with pysam indexing.
56 ]]></help>
57
58 <expand macro="citations" />
59 </tool>