annotate map_mutation_class.xml @ 0:54c85c40dce1 draft default tip

"planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
author vijay
date Wed, 16 Dec 2020 23:31:49 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
1 <tool id="pancancer_map_mutation_class" name="PAPAA: PanCancer map mutation class" version="@VERSION@">
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
2 <description>map mutation class</description>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
3 <macros>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
4 <import>macros.xml</import>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
5 </macros>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
6 <expand macro="requirements"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
7 <expand macro="stdio"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
8 <version_command><![CDATA['papaa_map_mutation_class.py' --version]]></version_command>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
9 <command><![CDATA[
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
10 mkdir 'classifier' &&
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
11 ln -s '${classifier_decisions}' 'classifier/classifier_decisions.tsv' &&
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
12 papaa_map_mutation_class.py
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
13 --classifier_decisions 'classifier'
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
14 #if $path_genes and str($path_genes):
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
15 --path_genes '$path_genes'
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
16 #end if
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
17 @INPUTS_COPY_NUMBER_FILE_CONDITIONAL@
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
18 @INPUT_FILENAME_RAW_MUT@
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
19 > '${log}'
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
20 ]]>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
21 </command>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
22 <inputs>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
23 <param argument="--classifier_decisions" label="pancancer decisions" name="classifier_decisions" optional="false" type="data" format="tabular" help="classifier_decisions.tsv"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
24 <param argument="--path_genes" label="string of the genes to extract or genelist file" name="path_genes" optional="true" type= "data" format="txt"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
25 <expand macro="inputs_copy_number_file_conditional" />
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
26 <expand macro="input_filename_raw_mut" />
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
27 </inputs>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
28 <outputs>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
29 <data format="txt" name="log" label="${tool.name} on ${on_string} (Log)"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
30 <data format="tabular" name="mutation_classification_scores" label="${tool.name} on ${on_string} (mutation_classification_scores.tsv)" from_work_dir="classifier/tables/mutation_classification_scores.tsv"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
31 </outputs>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
32 <tests>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
33 <test>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
34 <param name="classifier_decisions" value="classifier_decisions.tsv" ftype="tabular"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
35 <param name="path_genes" value="path_genes.txt" ftype="txt"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
36 <param name="copy_number" value="yes"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
37 <param name="filename_copy_loss" value="copy_number_loss_status_t10p.tsv.gz" ftype="tabular"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
38 <param name="filename_copy_gain" value="copy_number_gain_status_t10p.tsv.gz" ftype="tabular"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
39 <param name="filename_raw_mut" value="mc3.v0.2.8.PUBLIC_t1p.maf.gz" ftype="tabular"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
40 <output name="log" file="map_mutation_class_Log.txt"/>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
41 <output name="mutation_classification_scores" file="mutation_classification_scores.tsv" />
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
42 </test>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
43 </tests>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
44 <help><![CDATA[
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
45
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
46 **Pancancer_Aberrant_Pathway_Activity_Analysis scripts/papaa_map_mutation_class.py:**
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
47
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
48 **Inputs:**
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
49 --classifer_decisions String of the location of folder containing classifier_decisions.tsv
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
50 --path_genes comma separated string of HUGO symbols for all genes in the pathway or Pathway genes list file
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
51 --filename_copy_loss Filename of copy number loss
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
52 --filename_copy_gain Filename of copy number gain
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
53 --filename_raw_mut Filename of raw mut MAF
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
54
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
55 **Outputs:**
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
56 Merge per sample classifier scores with mutation types present in each sample and generate "mutation_classification_scores.tsv" file ]]>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
57 </help>
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
58 <expand macro="citations" />
54c85c40dce1 "planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
vijay
parents:
diff changeset
59 </tool>