Mercurial > repos > mvdbeek > damidseq_core
comparison damidseq_core.xml @ 1:0d1514ecd757 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/damidseq_core commit e6582f259ba7d57bc559887a87ee56e6d29f942e
author | mvdbeek |
---|---|
date | Thu, 23 Mar 2017 10:55:41 -0400 |
parents | eb3a145c4962 |
children | 69e346fb52a0 |
comparison
equal
deleted
inserted
replaced
0:eb3a145c4962 | 1:0d1514ecd757 |
---|---|
1 <tool id="damidseq_core" name="damidseq" version="0.1.0"> | 1 <tool id="damidseq_core" name="damidseq" version="0.1.1"> |
2 <description>align, extend and normalize a DAMID-seq experiment</description> | 2 <description>align, extend and normalize a DamID-seq experiment</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.4">damidseq_pipeline</requirement> | 4 <requirement type="package" version="1.4">damidseq_pipeline</requirement> |
5 </requirements> | 5 </requirements> |
6 <version_command><![CDATA[damidseq_pipeline --help 2>&1| grep damidseq_pipeline]]></version_command> | 6 <version_command><![CDATA[damidseq_pipeline --help 2>&1| grep damidseq_pipeline]]></version_command> |
7 <command detect_errors="aggressive"><![CDATA[ | 7 <command detect_errors="aggressive"><![CDATA[ |
8 export HOME="\$PWD" && | 8 ln -f -s '$dam' A001.fastq && |
9 ln -f -s '$dam' A001.$dam.ext && | 9 ln -f -s '$dam_fusion' A002.fastq && |
10 ln -f -s '$dam_fusion' A002.$dam_fusion.ext && | |
11 ln -f -s '$index' index.txt && | 10 ln -f -s '$index' index.txt && |
12 damidseq_pipeline | 11 HOME="\$PWD" damidseq_pipeline |
13 --bins=$bins | 12 --bins=$bins |
14 --bowtie=1 | 13 --bowtie=1 |
15 --bowtie2_genome_dir='$reference_index.fields.path' | 14 --bowtie2_genome_dir='$reference_index.fields.path' |
16 --extend_reads=$extend_reads | 15 --extend_reads=$extend_reads |
17 --extension_method='$extension_method' | 16 --extension_method='$extension_method' |
26 --output_format=$output_format | 25 --output_format=$output_format |
27 --q=$q | 26 --q=$q |
28 --qscore1max=$qscore1max | 27 --qscore1max=$qscore1max |
29 --qscore1min=$qscore1min | 28 --qscore1min=$qscore1min |
30 --qscore2max=$qscore2max | 29 --qscore2max=$qscore2max |
31 --threads=\${GALAXY_SLOTS:-4} && | 30 --threads=\${GALAXY_SLOTS:-4} 2>&1| LC_ALL=C sed -e 's/[^A-Za-z0-9._-]/ /g' && |
32 mv Fusion-vs-Dam.*.$output_format fusion.output | 31 mv Fusion-vs-Dam.* fusion.output |
33 ]]></command> | 32 ]]></command> |
34 <configfiles> | 33 <configfiles> |
35 <configfile name="index">A1 Dam | 34 <configfile name="index">A1 Dam |
36 A2 Fusion</configfile> | 35 A2 Fusion</configfile> |
37 </configfiles> | 36 </configfiles> |
38 <inputs> | 37 <inputs> |
39 <param argument="--dam" type="data" format="fastq,fastq.gz" label="Control DAM alignment file"/> | 38 <param argument="--dam" type="data" format="fastq,fastq.gz" label="Control Dam fastq"/> |
40 <param name="dam_fusion" type="data" format="fastq,fastq.gz" label="DAM fusion alignment file"/> | 39 <param name="dam_fusion" type="data" format="fastq,fastq.gz" label="DAM fusion fastq"/> |
41 <param name="reference_index" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> | 40 <param name="reference_index" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> |
42 <options from_data_table="bowtie2_indexes"> | 41 <options from_data_table="bowtie2_indexes"> |
43 <filter type="sort_by" column="2"/> | 42 <filter type="sort_by" column="2"/> |
44 <validator type="no_options" message="No indexes are available for the selected input dataset"/> | 43 <validator type="no_options" message="No indexes are available for the selected input dataset"/> |
45 </options> | 44 </options> |
46 </param> | 45 </param> |
47 <param argument="--gatc_frag_file" type="data" format="gff" label="GFF file with all GATC locations"/> | 46 <param argument="--gatc_frag_file" type="data" format="gff" label="GFF file with all GATC locations"/> |
48 <param name="output_format" type="select" label="Select the output format for the peaks"> | 47 <param name="output_format" type="select" label="Select the output format for the peaks"> |
49 <option value="bedgraph">Bedgraph</option> | 48 <option value="bedgraph">Bed</option> |
50 <option value="gff">GFF</option> | 49 <option value="gff">GFF</option> |
51 </param> | 50 </param> |
52 <param argument="--extend_reads" type="boolean" truevalue="1" falsevalue="0" checked="True" label="Perform read extension?"/> | 51 <param argument="--extend_reads" type="boolean" truevalue="1" falsevalue="0" checked="True" label="Perform read extension?"/> |
53 <param argument="--extension_method" type="select" label="Select the read extension method" help="Select Full to extend all reads or GATC to extend reads to --len or to the next GATC site, whichever is shorter. Using this option increases peak resolution (default)."> | 52 <param argument="--extension_method" type="select" label="Select the read extension method" help="Select Full to extend all reads or GATC to extend reads to --len or to the next GATC site, whichever is shorter. Using this option increases peak resolution (default)."> |
54 <option value="gatc">To nearest GATC site</option> | 53 <option value="gatc">To nearest GATC site</option> |
69 <param argument="--qscore1min" type="float" min="0.0" value="0.4" max="1.0" label="min decile for normalising from Dam array"/> | 68 <param argument="--qscore1min" type="float" min="0.0" value="0.4" max="1.0" label="min decile for normalising from Dam array"/> |
70 <param argument="--qscore1max" type="float" min="0.0" value="1.0" max="1.0" label="max decile for normalising from Dam array"/> | 69 <param argument="--qscore1max" type="float" min="0.0" value="1.0" max="1.0" label="max decile for normalising from Dam array"/> |
71 <param argument="--qscore2max" type="float" min="0.0" value="1.0" max="1.0" label="max decile for normalising from fusion-protein array"/> | 70 <param argument="--qscore2max" type="float" min="0.0" value="1.0" max="1.0" label="max decile for normalising from fusion-protein array"/> |
72 </inputs> | 71 </inputs> |
73 <outputs> | 72 <outputs> |
74 <data name="output_ratio" format="bedgraph" from_work_dir="fusion.output" label="DAM-fusion vs Dam-only ratio"> | 73 <data name="output_ratio" format="bed" from_work_dir="fusion.output" label="DAM-fusion vs Dam-only ratio"> |
75 <change_format> | 74 <change_format> |
76 <when input="output_format" value="gff" format="gff" /> | 75 <when input="output_format" value="gff" format="gff" /> |
77 </change_format> | 76 </change_format> |
77 <actions> | |
78 <action type="metadata" name="dbkey"> | |
79 <option type="from_data_table" name="bowtie2_indexes" column="1" offset="0"> | |
80 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> | |
81 <filter type="param_value" ref="reference_index" column="0"/> | |
82 </option> | |
83 </action> | |
84 </actions> | |
78 </data> | 85 </data> |
79 <data name="control_output" format="bam" from_work_dir="Dam-ext300.bam" label="DAM-only alignment"/> | 86 <data name="control_output" format="bam" from_work_dir="Dam-ext300.bam" label="DAM-only alignment"> |
80 <data name="fusion_output" format="bam" from_work_dir="Fusion-ext300.bam" label="DAM-fusion alignment"/> | 87 <actions> |
88 <action type="metadata" name="dbkey"> | |
89 <option type="from_data_table" name="bowtie2_indexes" column="1" offset="0"> | |
90 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> | |
91 <filter type="param_value" ref="reference_index" column="0"/> | |
92 </option> | |
93 </action> | |
94 </actions> | |
95 </data> | |
96 <data name="fusion_output" format="bam" from_work_dir="Fusion-ext300.bam" label="DAM-fusion alignment"> | |
97 <actions> | |
98 <action type="metadata" name="dbkey"> | |
99 <option type="from_data_table" name="bowtie2_indexes" column="1" offset="0"> | |
100 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> | |
101 <filter type="param_value" ref="reference_index" column="0"/> | |
102 </option> | |
103 </action> | |
104 </actions> | |
105 </data> | |
81 </outputs> | 106 </outputs> |
82 <tests> | 107 <tests> |
83 <test> | 108 <test> |
84 <param name="dam" value="A001.fastq"/> | 109 <param name="dam" value="A001.fastq"/> |
85 <param name="dam_fusion" value="A002.fastq"/> | 110 <param name="dam_fusion" value="A002.fastq"/> |
86 <param name="gatc_frag_file" value="dm6.GATC.gff"/> | 111 <param name="gatc_frag_file" value="dm6.GATC.gff"/> |
87 <param name="index" value="dm6"/> | 112 <param name="reference_index" value="dm6"/> |
88 <param name="norm_method" value="rpm"/> | 113 <param name="norm_method" value="rpm"/> |
89 <output name="output_ratio" file="output_ratio.bedgraph"/> | 114 <output name="output_ratio" file="output_ratio.bed"/> |
90 <output name="control_output" file="control.bam"/> | 115 <output name="control_output" file="control.bam"/> |
91 <output name="fusion_output" file="fusion.bam"/> | 116 <output name="fusion_output" file="fusion.bam"/> |
92 </test> | 117 </test> |
93 </tests> | 118 </tests> |
94 <help><![CDATA[ | 119 <help><![CDATA[ |