Mercurial > repos > nturaga > minfi_analyze_tcga
comparison minfi_TCGA_pipeline.xml @ 0:8b26eeb2da29 draft
planemo upload commit fb90aafc93e5e63acfcdac4c27cfd865cdf06c5a-dirty
author | nturaga |
---|---|
date | Tue, 19 Apr 2016 11:11:16 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b26eeb2da29 |
---|---|
1 <tool id="minfi_analyze_tcga" name="Minfi Analysis Pipeline" version="1.0"> | |
2 <description>for TCGA data hosted on GDAC-Broadinstitute</description> | |
3 <macros> | |
4 <import>minfi_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 mkdir tcga_temp | |
9 && | |
10 echo "${tarfile},${tarfile.name}" > tcga_temp/config.txt | |
11 && | |
12 Rscript ${__tool_directory__}/minfi_TCGA_pipeline.R | |
13 --quiet="FALSE" | |
14 --tarfile="${tarfile}" | |
15 --cores=\${GALAXY_SLOTS:-4} | |
16 #if str( $minfi_param_type.minfi_param_type_selector ) == "advanced": | |
17 --b_permutations=${minfi_param_type.b_permutations} | |
18 --smooth=${minfi_param_type.smooth} | |
19 --l_value=${minfi_param_type.l_value} | |
20 #else: | |
21 --b_permutations=25 | |
22 --smooth=FALSE | |
23 --l_value=4 | |
24 #end if | |
25 ]]> </command> | |
26 <inputs> | |
27 <param name="tarfile" type="data" label="Input GDAC filename"/> | |
28 <conditional name="minfi_param_type"> | |
29 <param name="minfi_param_type_selector" type="select" label="Basic or Advanced Minfi Parameters"> | |
30 <option value="basic" selected="True">Basic Default settings</option> | |
31 <option value="advanced">Advanced</option> | |
32 </param> | |
33 <when value="basic"> | |
34 <!--Do nothing here --> | |
35 </when> | |
36 <when value="advanced"> | |
37 <!-- Give options for estimating cell counts here --> | |
38 <!-- Give Bumphunter options here like B,smooth,cutoff, length of dmrs--> | |
39 <param name="b_permutations" type="integer" value="25" label="Number of times resampled" help="Refer the tool's help section" /> | |
40 <param name="smooth" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="Should a smoothing function be used?" help="Refer the tool's help section" /> | |
41 <param name="l_value" type="integer" value="4" label="Length of DMRs to be selected" help="Refer the tool's help section" /> | |
42 </when> | |
43 </conditional> | |
44 </inputs> | |
45 <outputs> | |
46 <!-- PLOT OUTPUTS --> | |
47 <!-- CSV outputs --> | |
48 <data name="dmps" from_work_dir="dmps.csv" format="csv" label="Differentially Methylated positions" /> | |
49 <data name="dmrs" from_work_dir="dmrs.csv" format="csv" label="Differentially Methylated Regions using Bumphunter" /> | |
50 </outputs> | |
51 <tests> | |
52 <test> | |
53 <param name="tarfile" value="gdac.broadinstitute.org_UCEC.Merge_methylation__humanmethylation450__jhu_usc_edu__Level_3__within_bioassay_data_set_function__data.Level_3.2014101700.0.0.tar" /> | |
54 <param name="minfi_param_type.minfi_param_type_selector" value="basic" /> | |
55 <output name="dmps_tcga" file="dmps_tcga.csv" ftype="csv" /> | |
56 <output name="dmrs_tcga" file="dmrs_tcga.csv" ftype="csv" /> | |
57 </test> | |
58 </tests> | |
59 <help><![CDATA[ | |
60 | |
61 **What it does** | |
62 | |
63 Analyze TCGA illumina 450k array data hosted at the GDAC Broadinstitute firehose. | |
64 http://gdac.broadinstitute.org/runs/stddata__latest/ | |
65 | |
66 **Input**: | |
67 | |
68 Currently, an example of a file that this function reads is here: | |
69 | |
70 <http://gdac.broadinstitute.org/runs/stddata__2014_10_17/data/UCEC/20141017/gdac.broadinstitute.org_UCEC.Merge_methylation__humanmethylation450__jhu_usc_edu__Level_3__within_bioassay_data_set_function__data.Level_3.2014101700.0.0.tar.gz> | |
71 | |
72 | |
73 NOTE: It is an archive of size 8.1Gb | |
74 | |
75 1. Upload the file into galaxy. | |
76 | |
77 2. Run the "Minfi Analysis pipeline for TCGA data" tool on the resultant tar file in your history. | |
78 | |
79 3. This will generate two results, Differentially methylated positions and Differentially methylated regions. | |
80 | |
81 **Output**: | |
82 | |
83 1. Differentially methylated positions | |
84 | |
85 2. Differentially methylated regions. | |
86 | |
87 ]]></help> | |
88 <expand macro="citations" /> | |
89 </tool> | |
90 |