annotate customProDB.xml @ 11:982fb2cde6c5 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
author galaxyp
date Fri, 13 Jan 2017 12:18:32 -0500
parents ed65d110c1b5
children 2656b09d2046
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
1 <tool id="custom_pro_db" name="CustomProDB" version="1.10.0">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
2 <description>Generate protein FASTAs from exosome or transcriptome data</description>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
3 <stdio>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
4 <exit_code range="1:" level="fatal" description="Job Failed" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
5 </stdio>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
6 <command interpreter="Rscript --vanilla">customProDB.R
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
7
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
8 --bam="$genome_annotation.bamInput"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
9 --bai="${genome_annotation.bamInput.metadata.bam_index}"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
10 --vcf="$genome_annotation.vcfInput"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
11 --rpkmCutoff=$rpkmCutoff
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
12 --outputFile="${output_rpkm}"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
13
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
14 #if str($genome_annotation.source) == "history":
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
15 --exon_anno="$genome_annotation.exonAnno"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
16 --proteinseq="$genome_annotation.proteinSeq"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
17 --procodingseq="$genome_annotation.proCodingSeq"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
18 --ids="$genome_annotation.ids"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
19 #if str($genome_annotation.dbsnpInCoding) != "None":
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
20 --dbsnpinCoding="$genome_annotation.dbsnpInCoding"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
21 #end if
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
22 #if str($genome_annotation.cosmic) != "None":
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
23 --cosmic="$genome_annotation.cosmic"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
24 #end if
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
25 #else:
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
26 #set index_path = $genome_annotation.builtin.fields.path
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
27 --exon_anno="$index_path/exon_anno.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
28 --proteinseq="$index_path/proseq.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
29 --procodingseq="$index_path/procodingseq.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
30 --ids="$index_path/ids.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
31 #if $genome_annotation.dbsnpInCoding:
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
32 --dbsnpinCoding="$index_path/dbsnpinCoding.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
33 #end if
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
34 #if $genome_annotation.cosmic:
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
35 --cosmic="$index_path/cosmic.RData"
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
36 #end if
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
37 #end if
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
38
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
39 2&gt;&amp;1</command>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
40 <inputs>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
41 <conditional name="genome_annotation">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
42 <param name="source" type="select" label="Will you select a genome annotation from your history or use a built-in annotation?" help="See `Annotations` section of help below">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
43 <option value="builtin">Use a built-in genome annotation</option>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
44 <option value="history">Use annotation from your history</option>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
45 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
46 <when value="builtin">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
47 <param name="builtin" type="select" label="Select genome annotation" help="If your genome of interest is not listed, contact the Galaxy team">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
48 <options from_data_table="customProDB">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
49 <filter type="sort_by" column="2"/>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
50 <validator type="no_options" message="No annotations are available for the selected input dataset"/>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
51 </options>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
52 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
53 <param name="bamInput" type="data" format="bam" label="BAM file">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
54 <validator type="unspecified_build" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
55 <validator message="Sequences are not currently available for the specified build." metadata_column="1" metadata_name="dbkey" table_name="customProDB" type="dataset_metadata_in_data_table" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
56 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
57 <!--<param name="baiInput" type="data" format="bam_index" label="BAM Index (BAI) file">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
58 <validator type="unspecified_build" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
59 <validator message="Sequences are not currently available for the specified build." metadata_column="1" metadata_name="dbkey" table_name="customProDB" type="dataset_metadata_in_data_table" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
60 </param>-->
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
61 <param name="vcfInput" type="data" format="vcf" label="VCF file">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
62 <validator type="unspecified_build" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
63 <validator message="Sequences are not currently available for the specified build." metadata_column="1" metadata_name="dbkey" table_name="customProDB" type="dataset_metadata_in_data_table" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
64 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
65 <param name="dbsnpInCoding" type="boolean" value="" label="Annotate SNPs with rsid from dbSNP (select organisms only)" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
66 <param name="cosmic" type="boolean" value="" label="Annotate somatic SNPs from COSMIC (human only)" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
67 </when>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
68 <when value="history">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
69 <param name="exonAnno" type="data" format="RData" help="A dataframe of exon annotations in an RData file" label="Exon Annotations" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
70 <param name="proteinSeq" type="data" format="RData" help="A dataframe containing protein ids and protein sequences in an RData file" label="Protein Sequences" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
71 <param name="proCodingSeq" type="data" format="RData" help="A dataframe cotaining coding sequences for each protein in an RData file" label="Protein Coding Sequences" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
72 <param name="ids" type="data" format="RData" help="A dataframe cotaining IDs for each protein in an RData file" label="Protein IDs" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
73 <param name="bamInput" type="data" format="bam" label="BAM file">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
74 <validator check="bam_index" message="Metadata missing, click the pencil icon in the history item and use the auto-detect feature to correct this issue." type="metadata" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
75 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
76 <param name="baiInput" type="data" format="bam_index" label="BAM Index file">
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
77 <validator check="dbkey" message="Metadata missing, click the pencil icon in the history item and use the auto-detect feature to correct this issue." type="metadata" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
78 </param>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
79 <param name="vcfInput" type="data" format="vcf" label="VCF file" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
80 <param name="dbsnpInCoding" type="data" format="RData" label="A dataframe containing dbSNP rsids" optional="true" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
81 <param name="cosmic" type="data" format="RData" label="A dataframe containing somatic SNPs from COSMIC (human only)" optional="true" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
82 </when>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
83 </conditional>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
84 <param name="rpkmCutoff" type="float" value="1" min="0" label="Transcript Expression Cutoff (RPKM)" help="If non-zero, if a transcript does not meet this expression cutoff (based on RPKM) then it will not be included in the output database." />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
85 </inputs>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
86 <outputs>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
87 <data format="fasta" name="output_rpkm" from_work_dir="output_rpkm.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_rpkm.fasta"/>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
88 <data format="fasta" name="output_snv" from_work_dir="output_snv.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_snv.fasta"/>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
89 <data format="fasta" name="output_indel" from_work_dir="output_indel.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_indel.fasta"/>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
90 </outputs>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
91 <tests>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
92 <test>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
93 <param name="bamInput" value="test1_sort.bam" dbkey="hg19" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
94 <param name="vcfInput" value="test1.vcf" dbkey="hg19" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
95 <param name="source" value="history" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
96 <param name="exonAnno" value="exon_anno.RData" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
97 <param name="proteinSeq" value="proseq.RData" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
98 <param name="proCodingSeq" value="procodingseq.RData" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
99 <param name="ids" value="ids.RData" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
100 <output name="output_rpkm" file="test_rpkm.fasta" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
101 <output name="output_snv" file="test_snv.fasta" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
102 <output name="output_indel" file="test_indel.fasta" />
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
103 </test>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
104 </tests>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
105 <help>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
106 **Description**
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
107
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
108 Generate protein FASTAs from exosome or transcriptome data (in the form of BAM files). </help>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
109 <citations>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
110 <citation type="doi">10.1093/bioinformatics/btt543</citation>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
111 <citation type="bibtex">@misc{toolsGalaxyP, author = {Chambers MC, et al.}, title = {Galaxy Proteomics Tools}, publisher = {GitHub}, journal = {GitHub
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
112 repository},
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
113 year = {2017}, url = {https://github.com/galaxyproteomics/tools-galaxyp}}</citation> <!-- TODO: fix substitution of commit ", commit =
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
114 {$sha1$}" -->
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
115 </citations>
982fb2cde6c5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit 7115cf54f290b51b6a791f9ae288dd907a31fb0a
galaxyp
parents: 10
diff changeset
116 </tool>