annotate shear_assemble.xml @ 2:239e200ae99f

Fix typo in command cheetah for shear_sv.xml
author Jim Johnson <jj@umn.edu>
date Sat, 06 Jul 2013 04:51:48 -0500
parents ea76da1e7281
children a82400332451
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
1 <tool id="shear_assemble" name="SHEAR-Assemble" version="0.0.1">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
2 <description>create a personal genome from sdi</description>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
3 <requirements>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
4 <requirement type="package" version="0.1.2">shear</requirement>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
5 </requirements>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
6 <!--
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
7 <version_command></version_command>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
8 -->
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
9 <command>java -jar \$SHEAR_JAR_PATH/SHEAR.jar assemble -s $sdi_file
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
10 #if $genomeSource.refGenomeSource == 'indexed':
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
11 -f $genomeSource.ref_fastas.fields.path
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
12 #else:
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
13 -f $genomeSource.ref_fasta
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
14 #end if
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
15 -o $output_fasta
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
16 </command>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
17 <inputs>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
18 <param name="sdi_file" type="data" format="shear.sdi" label="SDI file produced by SHEAR's 'sv' command containing the SVs to use to create the new genomic sequence."/>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
19 <!-- reference data -->
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
20 <conditional name="genomeSource">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
21 <param name="refGenomeSource" type="select" label="Will you select a reference genome from your history or use a cached file?">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
22 <option value="indexed">Use a cached reference genome</option>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
23 <option value="history">Use one from the history</option>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
24 </param>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
25 <when value="indexed">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
26 <param name="ref_fastas" type="select" label="Select a reference genome">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
27 <options from_data_table="all_fasta">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
28 <filter type="sort_by" column="2" />
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
29 <validator type="no_options" message="No reference fasta files are available" />
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
30 </options>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
31 </param>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
32 </when>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
33 <when value="history">
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
34 <param name="ref_fasta" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
35 </when>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
36 </conditional>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
37 </inputs>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
38 <stdio>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
39 <exit_code range="1:" level="fatal" description="Error" />
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
40 </stdio>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
41 <outputs>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
42 <data format="fasta" name="output_fasta" label="${tool.name} on ${on_string}: personal genome" />
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
43 </outputs>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
44 <tests>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
45 <test>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
46 <param name="sdi_file" ftype="shear.sdi" value="shear_sv.sdi"/>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
47 <param name="refGenomeSource" value="history"/>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
48 <param name="ref_fasta" ftype="fasta" value="syn.fa"/>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
49 <output name="output_fasta" file="simulated-data.fa"/>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
50 </test>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
51 </tests>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
52 <help>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
53 SHEAR-Assemble takes a reference genome and a *.sdi file from SHEAR-SV to create a new personal genome.
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
54 </help>
ea76da1e7281 Uploaded
jjohnson
parents:
diff changeset
55 </tool>