Mercurial > repos > morinlab > sequenza
annotate sequenza_pipeline.xml @ 0:73338a1805e7 draft
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
| author | morinlab |
|---|---|
| date | Tue, 11 Oct 2016 14:31:59 -0400 |
| parents | |
| children | 12d83c22866a |
| rev | line source |
|---|---|
|
0
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
1 <tool id="sequenza_pipeline" name="Analyze Seqz File" version="2.1.2"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
2 <description> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
3 using general R sequenza pipeline |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
4 </description> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
5 <requirements> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
6 <requirement type="package" version="2.1.2">sequenza</requirement> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
7 <requirement type="set_environment" version="2.1.2">SEQUENZA_INSTALL_DIR</requirement> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
8 </requirements> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
9 <command> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
10 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
11 Rscript $__tool_directory__/sequenza_pipeline.R $input |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
12 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
13 #if $sampleid_source.sampleid_selector == "bamfile": |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
14 \$(basename $sampleid_source.id | sed 's/.bam$//g' ) |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
15 #else: |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
16 $sampleid_source.id |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
17 #end if |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
18 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
19 output |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
20 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
21 #if $choose_fit_option.fit_option == "manual": |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
22 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
23 $ploidy $cellularity |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
24 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
25 #end if |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
26 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
27 2>&1 ; |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
28 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
29 cat ./output/*segments.txt > $output; |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
30 |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
31 </command> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
32 <inputs> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
33 <conditional name="sampleid_source"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
34 <param label="Choose the source to open the Sample Id" name="sampleid_selector" type="select"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
35 <option value="bamfile">BAM File Name</option> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
36 <option value="manual">Manual</option> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
37 </param> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
38 <when value="manual"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
39 <param name="id" type="text" label="Tumour ID (Name)"/> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
40 </when> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
41 <when value="bamfile"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
42 <param type="data" format="bam" name="id" label="Sequence Alignment File"/> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
43 </when> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
44 </conditional> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
45 <conditional name="choose_fit_option"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
46 <param label="Use the best fit or manually set the ploidy and cellularity" name="fit_option" type="select"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
47 <option value="bestfit">Best fit</option> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
48 <option value="manual">Manually specify</option> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
49 </param> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
50 <when value="manual"> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
51 <param name="ploidy" type="float" label="ploidy" value="2" /> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
52 <param name="cellularity" type="float" label="cellularity" value="1" /> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
53 </when> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
54 </conditional> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
55 <param name="input" format="txt,tabular" type="data" label="Input Sequenza Seqz File"/> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
56 </inputs> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
57 <outputs> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
58 <data name="output" format="seg,txt"/> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
59 </outputs> |
|
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff
changeset
|
60 </tool> |
