Mercurial > repos > galaxyp > custom_pro_db
comparison customProDB.xml @ 1:ad130eaa3a05 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/custom_pro_db commit e025f5b4d590c44537cf0702e2fb040a28f98fec
author | galaxyp |
---|---|
date | Fri, 12 May 2017 13:17:40 -0400 |
parents | 8ccfff69dd57 |
children | 2cba79e6037e |
comparison
equal
deleted
inserted
replaced
0:8ccfff69dd57 | 1:ad130eaa3a05 |
---|---|
1 <tool id="custom_pro_db" name="CustomProDB" version="1.14.0"> | 1 <tool id="custom_pro_db" name="CustomProDB" version="1.16.0"> |
2 <description>Generate protein FASTAs from exosome or transcriptome data</description> | 2 <description>Generate protein FASTAs from exosome or transcriptome data</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.14.0">bioconductor-customprodb</requirement> | 4 <requirement type="package" version="3.3.1">r-base</requirement> |
5 <!--<requirement type="package" version="1.14.0">bioconductor-customprodb</requirement>--> | |
5 <requirement type="package" version="1.18.0">bioconductor-rgalaxy</requirement> | 6 <requirement type="package" version="1.18.0">bioconductor-rgalaxy</requirement> |
7 <requirement type="package" version="1.21.0">bioconductor-biocinstaller</requirement> | |
8 <requirement type="package" version="1.20.3">bioconductor-variantannotation</requirement> | |
9 <requirement type="package" version="1.11.1">r-devtools</requirement> | |
10 <requirement type="package" version="3.98_1.4">r-xml</requirement> | |
11 <requirement type="package" version="0.10.11">r-rmysql</requirement> | |
12 <requirement type="package" version="1.0.2">r-testthat</requirement> | |
13 <requirement type="package" version="0.1.0">r-getoptlong</requirement> | |
14 <requirement type="package" version="1.1.2">r-stringi</requirement> | |
15 <requirement type="package" version="1.1.0">r-stringr</requirement> | |
16 <requirement type="package" version="1.10.0">r-data.table</requirement> | |
17 <!--<requirement type="package" version="0.4_10">r-sqldf</requirement>--> | |
18 <requirement type="package" version="0.6_6">r-gsubfn</requirement> | |
19 <requirement type="package" version="2.3_47">r-chron</requirement> | |
20 <requirement type="package" version="0.3.10">r-proto</requirement> | |
21 <requirement type="package" version="1.8.4">r-plyr</requirement> | |
6 </requirements> | 22 </requirements> |
7 <stdio> | 23 <stdio> |
8 <exit_code range="1:" level="fatal" description="Job Failed" /> | 24 <exit_code range="1:" level="fatal" description="Job Failed" /> |
9 </stdio> | 25 </stdio> |
10 <command><![CDATA[ | 26 <command><![CDATA[ |
11 Rscript --vanilla '$__tool_directory__/customProDB.R' | 27 Rscript --vanilla '$__tool_directory__/customProDB.R' |
12 --bam='$genome_annotation.bamInput' | 28 --bam='$genome_annotation.bamInput' |
13 --bai='${genome_annotation.bamInput.metadata.bam_index}' | 29 --bai='${genome_annotation.bamInput.metadata.bam_index}' |
14 --vcf='$genome_annotation.vcfInput' | 30 --vcf='$genome_annotation.vcfInput' |
15 --rpkmCutoff=$rpkmCutoff | 31 --rpkmCutoff=$rpkmCutoff |
16 --outputFile='${output_rpkm}' | 32 $outputIndels |
33 $outputSQLite | |
34 $outputRData | |
17 | 35 |
18 #if str($genome_annotation.source) == 'history': | 36 #if str($genome_annotation.source) == 'history': |
19 --exon_anno='$genome_annotation.exonAnno' | 37 --exon_anno='$genome_annotation.exonAnno' |
20 --proteinseq='$genome_annotation.proteinSeq' | 38 --proteinseq='$genome_annotation.proteinSeq' |
21 --procodingseq='$genome_annotation.proCodingSeq' | 39 --procodingseq='$genome_annotation.proCodingSeq' |
22 --ids='$genome_annotation.ids' | 40 --ids='$genome_annotation.ids' |
23 #if str($genome_annotation.dbsnpInCoding) != 'None': | 41 #if str($genome_annotation.dbsnpInCoding) != 'None': |
24 --dbsnpinCoding='$genome_annotation.dbsnpInCoding' | 42 --dbsnpinCoding='$genome_annotation.dbsnpInCoding' |
25 #end if | 43 #end if |
26 #if str($genome_annotation.cosmic) != 'None': | 44 #if str($genome_annotation.cosmic) != 'None': |
27 --cosmic='$genome_annotation.cosmic" | 45 --cosmic='$genome_annotation.cosmic' |
28 #end if | 46 #end if |
29 #else: | 47 #else: |
30 #set index_path = $genome_annotation.builtin.fields.path | 48 #set index_path = $genome_annotation.builtin.fields.path |
31 --exon_anno='$index_path/exon_anno.RData' | 49 --exon_anno='$index_path/exon_anno.RData' |
32 --proteinseq='$index_path/proseq.RData' | 50 --proteinseq='$index_path/proseq.RData' |
85 <param name="dbsnpInCoding" type="data" format="RData" label="A dataframe containing dbSNP rsids" optional="true" /> | 103 <param name="dbsnpInCoding" type="data" format="RData" label="A dataframe containing dbSNP rsids" optional="true" /> |
86 <param name="cosmic" type="data" format="RData" label="A dataframe containing somatic SNPs from COSMIC (human only)" optional="true" /> | 104 <param name="cosmic" type="data" format="RData" label="A dataframe containing somatic SNPs from COSMIC (human only)" optional="true" /> |
87 </when> | 105 </when> |
88 </conditional> | 106 </conditional> |
89 <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." /> | 107 <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." /> |
108 <param name="outputIndels" type="boolean" truevalue="--outputIndels" falsevalue="" label="Create a variant FASTA for short insertions and deletions" /> | |
109 <param name="outputSQLite" type="boolean" truevalue="--outputSQLite" falsevalue="" label="Create SQLite files for mapping proteins to genome and summarizing variant proteins" /> | |
110 <param name="outputRData" type="boolean" truevalue="--outputRData" falsevalue="" label="Create RData file of variant protein coding sequences" help="The PSM2SAM tool needs this to map variant proteins to genomic locations" /> | |
90 </inputs> | 111 </inputs> |
91 <outputs> | 112 <outputs> |
92 <data format="fasta" name="output_rpkm" from_work_dir="output_rpkm.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_rpkm.fasta"/> | 113 <data format="fasta" name="output_rpkm" from_work_dir="output_rpkm.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_rpkm.fasta"/> |
93 <data format="fasta" name="output_snv" from_work_dir="output_snv.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_snv.fasta"/> | 114 <data format="fasta" name="output_snv" from_work_dir="output_snv.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_snv.fasta"/> |
94 <data format="fasta" name="output_indel" from_work_dir="output_indel.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_indel.fasta"/> | 115 <data format="fasta" name="output_indel" from_work_dir="output_indel.fasta" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_indel.fasta"> |
116 <filter>outputIndels is True</filter> | |
117 </data> | |
118 <data format="rdata" name="output_variant_annotation_rdata" from_work_dir="output.rdata" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_variantAnnotation.RData"> | |
119 <filter>outputRData is True</filter> | |
120 </data> | |
121 <data format="sqlite" name="output_genomic_mapping_sqlite" from_work_dir="output_genomic_mapping.sqlite" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_genomicMapping.sqlite"> | |
122 <filter>outputSQLite is True</filter> | |
123 </data> | |
124 <data format="sqlite" name="output_variant_annotation_sqlite" from_work_dir="output_variant_annotation.sqlite" label="${genome_annotation.bamInput.name.rsplit('.',1)[0]}_variantAnnotation.sqlite"> | |
125 <filter>outputSQLite is True</filter> | |
126 </data> | |
95 </outputs> | 127 </outputs> |
96 <tests> | 128 <tests> |
97 <test> | 129 <test expect_num_outputs="5"> |
98 <param name="bamInput" value="test1_sort.bam" dbkey="hg19" /> | 130 <param name="bamInput" value="hg19/test1_sort.bam" dbkey="hg19" /> |
99 <param name="vcfInput" value="test1.vcf" dbkey="hg19" /> | 131 <param name="vcfInput" value="hg19/test1.vcf" dbkey="hg19" /> |
100 <param name="source" value="history" /> | 132 <param name="source" value="history" /> |
101 <param name="exonAnno" value="exon_anno.RData" /> | 133 <param name="exonAnno" value="hg19/exon_anno.RData" /> |
102 <param name="proteinSeq" value="proseq.RData" /> | 134 <param name="proteinSeq" value="hg19/proseq.RData" /> |
103 <param name="proCodingSeq" value="procodingseq.RData" /> | 135 <param name="proCodingSeq" value="hg19/procodingseq.RData" /> |
104 <param name="ids" value="ids.RData" /> | 136 <param name="ids" value="hg19/ids.RData" /> |
105 <output name="output_rpkm" file="test_rpkm.fasta" /> | 137 <param name="rpkmCutoff" value="1" /> |
106 <output name="output_snv" file="test_snv.fasta" /> | 138 <param name="outputIndels" value="" /> |
107 <output name="output_indel" file="test_indel.fasta" /> | 139 <param name="outputRData" value="--outputRData" /> |
140 <param name="outputSQLite" value="--outputSQLite" /> | |
141 <output name="output_rpkm" file="hg19_rpkm1.fasta" /> | |
142 <output name="output_snv" file="hg19_snv.fasta" /> | |
143 <output name="output_variant_annotation_rdata" file="hg19_variant_annotation.rdata" /> | |
144 <output name="output_genomic_mapping_sqlite" file="hg19_genomic_mapping.sqlite" /> | |
145 <output name="output_variant_annotation_sqlite" file="hg19_variant_annotation.sqlite" /> | |
146 </test> | |
147 <test expect_num_outputs="5"> | |
148 <param name="bamInput" value="hg19/test1_sort.bam" dbkey="hg19" /> | |
149 <param name="vcfInput" value="hg19/test1.vcf" dbkey="hg19" /> | |
150 <param name="source" value="history" /> | |
151 <param name="exonAnno" value="hg19/exon_anno.RData" /> | |
152 <param name="proteinSeq" value="hg19/proseq.RData" /> | |
153 <param name="proCodingSeq" value="hg19/procodingseq.RData" /> | |
154 <param name="ids" value="hg19/ids.RData" /> | |
155 <param name="dbsnpInCoding" value="hg19/dbsnpinCoding.RData" /> | |
156 <param name="cosmic" value="hg19/cosmic.RData" /> | |
157 <param name="rpkmCutoff" value="0" /> | |
158 <param name="outputIndels" value="--outputIndels" /> | |
159 <param name="outputSQLite" value="--outputSQLite" /> | |
160 <output name="output_rpkm" file="hg19_rpkm0.fasta" /> | |
161 <output name="output_snv" file="hg19_dbsnp_snv.fasta" /> | |
162 <output name="output_indel" file="hg19_indel.fasta" /> | |
163 <output name="output_variant_annotation_rdata" file="hg19_dbsnp_variant_annotation.rdata" /> | |
164 <output name="output_variant_annotation_sqlite" file="hg19_dbsnp_variant_annotation.sqlite" /> | |
165 </test> | |
166 <test expect_num_outputs="3"> | |
167 <param name="bamInput" value="hg19/test1_sort.bam" dbkey="hg19" /> | |
168 <param name="vcfInput" value="hg19/test1.vcf" dbkey="hg19" /> | |
169 <param name="source" value="history" /> | |
170 <param name="exonAnno" value="hg19/exon_anno.RData" /> | |
171 <param name="proteinSeq" value="hg19/proseq.RData" /> | |
172 <param name="proCodingSeq" value="hg19/procodingseq.RData" /> | |
173 <param name="ids" value="hg19/ids.RData" /> | |
174 <param name="rpkmCutoff" value="1000" /> | |
175 <param name="outputIndels" value="--outputIndels" /> | |
176 <output name="output_rpkm" file="hg19_rpkm1000.fasta" /> | |
177 <output name="output_snv" file="hg19_snv.fasta" /> | |
178 <output name="output_indel" file="hg19_indel.fasta" /> | |
108 </test> | 179 </test> |
109 </tests> | 180 </tests> |
110 <help> | 181 <help> |
111 **Description** | 182 **Description** |
112 | 183 |
113 Generate protein FASTAs from exosome or transcriptome data (in the form of BAM files). </help> | 184 Generate protein FASTAs from exosome or transcriptome data (in the form of BAM files). </help> |
114 <citations> | 185 <citations> |
115 <citation type="doi">10.1093/bioinformatics/btt543</citation> | 186 <citation type="doi">10.1093/bioinformatics/btt543</citation> |
116 <citation type="bibtex">@misc{toolsGalaxyP, author = {Chambers MC, et al.}, title = {Galaxy Proteomics Tools}, publisher = {GitHub}, journal = {GitHub | 187 <citation type="bibtex">@misc{toolsGalaxyP, author = {Chambers MC, et al.}, title = {Galaxy Proteomics Tools}, publisher = {GitHub}, journal = {GitHub repository}, |
117 repository}, | |
118 year = {2017}, url = {https://github.com/galaxyproteomics/tools-galaxyp}}</citation> <!-- TODO: fix substitution of commit ", commit = | 188 year = {2017}, url = {https://github.com/galaxyproteomics/tools-galaxyp}}</citation> <!-- TODO: fix substitution of commit ", commit = |
119 {$sha1$}" --> | 189 {$sha1$}" --> |
120 </citations> | 190 </citations> |
121 </tool> | 191 </tool> |