Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide galaxy integration #3

Open
vkuznet opened this issue Jul 21, 2023 · 0 comments
Open

Provide galaxy integration #3

vkuznet opened this issue Jul 21, 2023 · 0 comments

Comments

@vkuznet
Copy link
Collaborator

vkuznet commented Jul 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant