Skip to content

Conversation

@spond
Copy link
Contributor

@spond spond commented Jan 27, 2026

  • Implements hyphy cln for cleaning and normalizing alignments.
  • Supports filtering duplicates, gap-only sites, and masking stop codons.
  • Adds regression test test-data/cln-stop-codons.fa.

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)

- Implements `hyphy cln` for cleaning and normalizing alignments.
- Supports filtering duplicates, gap-only sites, and masking stop codons.
- Adds regression test `test-data/cln-stop-codons.fa`.
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.

Some minor comments. Could we also get rid of the .lint_skip file of the tool suite?

Additionally, some of the tests fail.

<data name="output_file" format="fasta" label="${tool.name} on ${on_string}: Cleaned alignment" />
</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">

</assert_contents>
</output>
</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">

@d-callan
Copy link
Contributor

d-callan commented Feb 9, 2026

important to note, this now bumps hyphy to 2.5.93 (and consequently tidy up some test data to satisfy stricter data sanity reqs in newer hyphy). that was the only reasonable way to fix the hyphy cln test failure.

year = "1989",
note = "Genetics 123(3):603-613",
url = "https://www.ncbi.nlm.nih.gov/pubmed/2599370"}
url = "https://doi.org/10.1093/genetics/123.3.603"}
Copy link
Member

Choose a reason for hiding this comment

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

maybe better with veg#71

@bgruening bgruening merged commit db3cc71 into galaxyproject:main Feb 10, 2026
14 checks passed
@bgruening
Copy link
Member

Danke!

@mvdbeek
Copy link
Member

mvdbeek commented Feb 10, 2026

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.

5 participants