Skip to content

Conversation

@as042
Copy link

@as042 as042 commented Feb 9, 2026

FOR CONTRIBUTOR:

  • I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
  • License permits unrestricted use (educational + commercial)
  • This PR adds a new tool or tool collection
  • This PR updates an existing tool or tool collection
  • This PR does something else (explain below)

There are two labels that allow to ignore specific (false positive) tool linter errors:

  • skip-version-check: Use it if only a subset of the tools has been updated in a suite.
  • skip-url-check: Use it if github CI sees 403 errors, but the URLs work.

Copy link
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.

@as042 Some preliminary comments inline. Please also add the missing .shed.yml file.

@@ -0,0 +1,99 @@
<tool id="fastga" name="FastGA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5" profile="21.05">
Copy link
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="fastga" name="FastGA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5" profile="21.05">
<tool id="fastga" name="FastGA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

@Profile@ token can be introduced here

@@ -0,0 +1,99 @@
<tool id="fastga" name="FastGA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5" profile="21.05">
<description>: align long sequences</description>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<description>: align long sequences</description>
<description>align long sequences</description>

Comment on lines 6 to 8
<requirements>
<requirement type="package" version="@TOOL_VERSION@">fastga</requirement>
</requirements>
Copy link
Contributor

Choose a reason for hiding this comment

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

This can go to macros

</data>
</outputs>
<tests>
<test>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<test>
<test expect_num_outputs="1">

<param name="output_format" value="paf"/>
<output name="output1" file="chrM_HGvMM.paf"/>
</test>
<test>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<test>
<test expect_num_outputs="1">

<param name="input1" value="chrM_hg38.fa.gz"/>
<param name="input2" value="chrM_mm39.fa.gz"/>
<param name="output_format" value="paf"/>
<output name="output1" file="chrM_HGvMM.paf"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also check the ftype here?

<param name="input1" value="chrM_hg38.fa.gz"/>
<param name="input2" value="chrM_mm39.fa.gz"/>
<param name="output_format" value="psl"/>
<output name="output1" file="chrM_HGvMM.psl"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

ftype?

@@ -0,0 +1,4 @@
<macros>
<token name="@TOOL_VERSION@">1.3.1</token>
<token name="@VERSION_SUFFIX@">0</token>
Copy link
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.0</token>

Comment on lines +63 to +84
-v: Verbose mode, output statistics as proceed.
-k: Keep any generated .1gdb's and .gix's.
-M: Use soft mask information if available.
-S: Use symmetric seeding (not recommended).
-L: Output log to specified file.
-T: Number of threads to use.
-P: Directory to use for temporary files.

-paf: Stream PAF output
-pafx: Stream PAF output with CIGAR string with X's
-pafm: Stream PAF output with CIGAR string with ='s
-pafs: Stream PAF output with CS string in short form
-pafS: Stream PAF output with CS string in long form
-psl: Stream PSL output
-1: Generate 1-code output to specified file

-f: adaptive seed count cutoff
-c: minimum seed chain coverage in both genomes
-s: threshold for starting a new seed chain
-l: minimum alignment length
-i: minimum alignment identity
-S: seed adaptamers from both genomes
Copy link
Contributor

Choose a reason for hiding this comment

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

I think many of these parameters are not part of the wrapper. Do you plan to include them? If not, this can be removed. More help about input, outputs and what the tool does could be beneficial here.

Comment on lines 88 to 98
<citations>
<citation type="bibtex">
@misc{githubFASTGA,
author = {Gene Myers and Chenxi Zhou},
year = {2025},
title = {FASTGA},
publisher = {GitHub},
journal = {GitHub repository},
url = {https://github.com/thegenemyers/FASTGA},
}</citation>
</citations>
Copy link
Contributor

Choose a reason for hiding this comment

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

This can also go to macros

as042 and others added 3 commits February 11, 2026 13:33
<command detect_errors="exit_code"><![CDATA[
## FastGA directly string matches the file extensions
## symlinks are used to bypass that restriction
ln -s "$input1" "input1.${input1.ext}" &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use single quotes

ln -s "$input1" "input1.${input1.ext}" &&
ln -s "$input2" "input2.${input2.ext}" &&
FastGA
#if str( $output_format ) == "paf":
Copy link
Contributor

Choose a reason for hiding this comment

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

You could just $output_format and use -paf and -psl as values of the select

"input1.${input1.ext}" "input2.${input2.ext}" > output
]]></command>
<inputs>
<param type="data" name="input1" format="gix,1gdb,fa,fna,fasta,fa.gz,fna.gz,fasta.gz,1seq"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

It's just fasta and fasta.gz.

Eher are gix, 1gdb and 1seq?

Copy link
Contributor

Choose a reason for hiding this comment

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

Please add label to inputs

<inputs>
<param type="data" name="input1" format="gix,1gdb,fa,fna,fasta,fa.gz,fna.gz,fasta.gz,1seq"/>
<param type="data" name="input2" format="gix,1gdb,fa,fna,fasta,fa.gz,fna.gz,fasta.gz,1seq"/>
<param name="output_format" type="select" display="radio" label="Specify the output format">
Copy link
Contributor

Choose a reason for hiding this comment

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

Avoid radio

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