Mercurial > repos > morinlab > sequenza
annotate sequenza_pipeline.xml @ 3:235c8e5dfece draft default tip
Uploaded
| author | morinlab | 
|---|---|
| date | Sun, 29 Jan 2017 11:42:51 -0500 | 
| parents | 12d83c22866a | 
| children | 
| 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; | 
| 3 | 30 | 
| 
0
 
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"/> | 
| 2 | 59 <collection name="list_output" type="list" description="Sequenza outputs"> | 
| 3 | 60 <discover_datasets pattern="__name_and_ext__" directory="output" visible="true"/> | 
| 2 | 61 </collection> | 
| 
0
 
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
 
morinlab 
parents:  
diff
changeset
 | 
62 </outputs> | 
| 
 
73338a1805e7
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/sequenza commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
 
morinlab 
parents:  
diff
changeset
 | 
63 </tool> | 
