Mercurial > repos > devteam > weightedaverage
changeset 1:90611e86a998 draft
Uploaded corrected tool requirements definition.
author | devteam |
---|---|
date | Thu, 03 Apr 2014 09:34:41 -0400 |
parents | 9b7b4009f2c0 |
children | efa2b391e887 |
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 10:48:52 2014 -0400 +++ b/WeightedAverage.py Thu Apr 03 09:34:41 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 10:48:52 2014 -0400 +++ b/WeightedAverage.xml Thu Apr 03 09:34:41 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:41 2014 -0400 @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="bx-python" version="0.7.1"> + <repository changeset_revision="2d0c08728bca" name="package_bx_python_0_7" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu" /> + </package> + <package name="galaxy-ops" version="1.0.0"> + <repository changeset_revision="4e39032e4ec6" name="package_galaxy_ops_1_0_0" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency>