Skip to content

Odgi update #7903

Draft
mirelaminkova wants to merge 5 commits intogalaxyproject:mainfrom
mirelaminkova:odgi-update
Draft

Odgi update #7903
mirelaminkova wants to merge 5 commits intogalaxyproject:mainfrom
mirelaminkova:odgi-update

Conversation

@mirelaminkova
Copy link
Copy Markdown
Contributor

Adding new odgi tools + fixing tests for some of the existing tools from #7371

Copy link
Copy Markdown
Contributor

@SaimMomin12 SaimMomin12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mirelaminkova 🚀

Some of the comments inline.

Comment thread tools/odgi/build.xml
@@ -1,18 +1,14 @@
<tool id="odgi_build" name="odgi build" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
<tool id="odgi_build" name="odgi build" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_build" name="odgi build" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_build" name="odgi build" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

We can introduce above TOKEN in macros.xml

Comment thread tools/odgi/cover.xml
@@ -0,0 +1,76 @@
<tool id="odgi_cover" name="odgi cover" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_cover" name="odgi cover" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_cover" name="odgi cover" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Comment thread tools/odgi/cover.xml
<inputs>
<expand macro="graph_input_param"/>
<param argument="--hogwild-depth" type="float" optional="true" min="0" label="Cover graph to this average depth" help="Randomly cover the graph until reaching the specified average depth."/>
<param argument="--num-paths-per-component" type="integer" optional="true" min="1" label="Number of paths to generate per component"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<param argument="--num-paths-per-component" type="integer" optional="true" min="1" label="Number of paths to generate per component"/>
<param argument="--num-paths-per-component" type="integer" optional="true" value="" min="1" label="Number of paths to generate per component"/>

Please add value="" whereever the param is optional

Comment thread tools/odgi/cover.xml
<param argument="--save-coverages" type="boolean" truevalue="true" falsevalue="" checked="false" label="Write node coverages table" help="Generate a tabular file with per-node coverage statistics."/>
</inputs>
<outputs>
<data name="output" format="odgi" label="${tool.name} on ${on_string}"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some output label?

Comment thread tools/odgi/cover.xml
<param argument="--save-coverages" type="boolean" truevalue="true" falsevalue="" checked="false" label="Write node coverages table" help="Generate a tabular file with per-node coverage statistics."/>
</inputs>
<outputs>
<data name="output" format="odgi" label="${tool.name} on ${on_string}"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<data name="output" format="odgi" label="${tool.name} on ${on_string}"/>
<data name="output" format="odgi" label="${tool.name} on ${on_string}: Output graph"/>

Comment thread tools/odgi/layout.xml
@@ -0,0 +1,138 @@
<tool id="odgi_layout" name="odgi layout" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_layout" name="odgi layout" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_layout" name="odgi layout" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Comment thread tools/odgi/macros.xml
<token name="@TOOL_VERSION@">0.3</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@TOOL_VERSION@">0.9.3</token>
<token name="@VERSION_SUFFIX@">0</token>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">25.1</token>

Comment thread tools/odgi/normalize.xml
@@ -0,0 +1,51 @@
<tool id="odgi_normalize" name="odgi normalize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_normalize" name="odgi normalize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_normalize" name="odgi normalize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Comment thread tools/odgi/overlap.xml
@@ -0,0 +1,62 @@
<tool id="odgi_overlap" name="odgi overlap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_overlap" name="odgi overlap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_overlap" name="odgi overlap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Comment thread tools/odgi/paths.xml
@@ -0,0 +1,85 @@
<tool id="odgi_paths" name="odgi paths" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="odgi_paths" name="odgi paths" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.1">
<tool id="odgi_paths" name="odgi paths" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Please change this throughout

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

Successfully merging this pull request may close these issues.

3 participants