Mercurial > repos > devteam > weightedaverage
changeset 1:68a40b074399 draft default tip
Uploaded corrected tool requirements definition.
author | devteam |
---|---|
date | Thu, 03 Apr 2014 09:34:00 -0400 |
parents | e11314245c2a |
children | |
files | WeightedAverage.py WeightedAverage.xml tool_dependencies.xml |
diffstat | 3 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/WeightedAverage.py Tue Apr 01 09:11:55 2014 -0400 +++ b/WeightedAverage.py Thu Apr 03 09:34:00 2014 -0400 @@ -7,10 +7,6 @@ import collections import sys -#import numpy -from galaxy import eggs -import pkg_resources -pkg_resources.require( "bx-python" ) from galaxy.tools.util.galaxyops import * from bx.cookbook import doc_optparse
--- a/WeightedAverage.xml Tue Apr 01 09:11:55 2014 -0400 +++ b/WeightedAverage.xml Thu Apr 03 09:34:00 2014 -0400 @@ -1,5 +1,9 @@ <tool id="wtavg" name="Assign weighted-average" version="1.0.0"> <description> of the values of features overlapping an interval </description> + <requirements> + <requirement type="package" version="1.0.0">galaxy-ops</requirement> + <requirement type="package" version="0.7.1">bx-python</requirement> + </requirements> <command interpreter="python">WeightedAverage.py $genomic_interval $genomic_feature $out_file1 -1 ${genomic_interval.metadata.chromCol},${genomic_interval.metadata.startCol},${genomic_interval.metadata.endCol},${genomic_interval.metadata.strandCol} -2 ${genomic_feature.metadata.chromCol},${genomic_feature.metadata.startCol},${genomic_feature.metadata.endCol},${genomic_feature.metadata.strandCol},${genomic_feature.metadata.nameCol}</command> <inputs>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Apr 03 09:34:00 2014 -0400 @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="bx-python" version="0.7.1"> + <repository changeset_revision="35e2457234ef" name="package_bx_python_0_7" owner="devteam" prior_installation_required="False" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="galaxy-ops" version="1.0.0"> + <repository changeset_revision="3287c55c02b8" name="package_galaxy_ops_1_0_0" owner="devteam" prior_installation_required="False" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency>