Question: How to create groups of tools and properly establish their dependencies?
0
gravatar for alexander.lenail
2.6 years ago by
alexander.lenail0 wrote:

I now want to create another tool, in the same repository as the previous tool I made. So now that tool's directory looks like:

Contents:

chipsequtil/
    README.md
    map_to_known_genes/
        map_to_known_genes.py
        map_to_known_genes.xml
        tool_dependencies.xml
    pieplot_macs/
        pieplots_macs.py
        pieplots_macs.xml
        tool_dependencies.xml
    tool_dependencies.xml

The exterior tool_dependencies file specifies the actual dependencies. The inner ones are just "../tool_dependencies.xml". But when I go to upload the tar file, I get this error:

Exception attempting to parse /srv/toolshed/main/var/data/repos/002/repo_2257/chipsequtil/map_to_known_genes/tool_dependencies.xml: not well-formed (invalid token): line 1, column 2

So my question is: How should I go about creating two tools? Should they be in different repositories? How should I be specifying dependencies? Where can I find a tutorial that explains this?

software error • 739 views
ADD COMMENTlink modified 2.6 years ago by Bjoern Gruening5.1k • written 2.6 years ago by alexander.lenail0
0
gravatar for Bjoern Gruening
2.6 years ago by
Bjoern Gruening5.1k
Germany
Bjoern Gruening5.1k wrote:

Hi Alex,

we recommend to only have one tool per TS repository. So this corresponds to uploading pieplot_macs and map_to_known_genes both with it's own tool_dependencies_xml file. Are you using planemo to upload tools to the TS? If so there are some nice feature that automatise tool development and pushing to TSs for you.

Cheers, Bjoern

ADD COMMENTlink written 2.6 years ago by Bjoern Gruening5.1k

I'm not using Planemo. How does one create a group of tools then?

ADD REPLYlink written 2.6 years ago by alexander.lenail0

Use planemo ;) It's worth it! You need to learn a little bit at the beginning, but the documentation is very good and it helps you so much in debugging and testing.

ADD REPLYlink written 2.6 years ago by Bjoern Gruening5.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 174 users visited in the last hour