Skip to content

Provide galaxy integration #3

@vkuznet

Description

@vkuznet

I put first draft of galaxy integration script over here: https://github.com/CHESSComputing/CHAPaaS/blob/main/scripts/galaxy.sh

It can be run as simple as following:

scripts/galaxy.sh /Users/vk/Work/Languages/Go/gopath/src/github.com/vkuznet/CHAPaaS/chap/users/vkuznet /Users/vk/tmp/ChessAnalysisPipeline/install

and it will produce the following galaxy XML file:

cat /tmp/chapbook-galaxy.xml
<tool id="CHAPBook_vkuznet" name="CHESS Analysis Pipeline" version="0.0.8" python_template_version="pythonVersion" profile="21.05">
    <requirements>
        <requirement type="package" version="0.0.8">ChessAnalysisPipeline</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        CHAP --config ''
    ]]></command>
    <inputs>
        <param type="data" name="config" format="yaml" />
    </inputs>
    <outputs>
    </outputs>
    <tests>
        <test>
            <param name="config" value="config.yaml"/>
        </test>
    </tests>
    <help><![CDATA[
        CHESS Analysis Pipeline (CHAP):

        To run it on command line you'll use:
        CHAP --config CONFIG

        To run it within galaxy you'll only need to upload your
        required configuration pipeline and necessary data.
    ]]></help>
    <citations>
        <citation type="bibtex">
@misc{githubChessAnalysisPipeline,
  author = {github, vkuznet},
  year = {2023},
  title = {CHAPBook analysis},
  publisher = {GitHub},
  journal = {GitHub repository},
  url = {https://github.com/CHAPUsers/CHAPBook},
}</citation>
    </citations>
</tool>

As you can see it include proper version from CHAP, and provide pre-configured xml file. We need to extend its functionality and provide proper integration with galaxy.

For that we can use planemo tool if necessary, we'll need to pack user config file somehow, and submit xml to whatever galaxy-dev destination we can choose.

FYI: @keara-soloway , @rolfverberg , @wernersun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions