Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
027c8be
transfered sylph to galaxytools due to size of test database metadata…
tcollins2011 Oct 8, 2024
d7fc0e7
Update tools/sylph/sylph.xml
tcollins2011 Oct 9, 2024
6146fb0
Update tools/sylph/.shed.yml
tcollins2011 Oct 9, 2024
f1e4551
Update tools/sylph/.shed.yml
tcollins2011 Oct 9, 2024
6b9d9cb
Update tools/sylph/macros.xml
tcollins2011 Oct 9, 2024
55d54f1
Update tools/sylph/macros.xml
tcollins2011 Oct 9, 2024
3519a0b
Update tools/sylph/.shed.yml
tcollins2011 Oct 9, 2024
8944a8d
replaced all double quotes in the command section with single quotes …
tcollins2011 Oct 9, 2024
63ca10f
Update tools/sylph/sylph.xml
tcollins2011 Oct 9, 2024
46e5d68
updated database sylmlink to better reflect the name
tcollins2011 Oct 9, 2024
477e325
changed ouput name
tcollins2011 Oct 9, 2024
25d9bac
changed database path names and sample file
tcollins2011 Oct 10, 2024
1513faf
python linting and tab spacing
tcollins2011 Oct 10, 2024
691a915
Merge branch 'master' into sylph
tcollins2011 Oct 10, 2024
9221bb8
fixing flake8 linting problems
tcollins2011 Oct 10, 2024
d86bcf0
force adding the extra test files and fixing a spacing issue in python
tcollins2011 Oct 10, 2024
3c35f6f
actually remembring to add the correct whitespace file to my commit
tcollins2011 Oct 10, 2024
5566c61
changed profile and query to be different tools and upated the macros…
tcollins2011 Oct 25, 2024
21de493
some of the comments
Dec 14, 2024
3fae5b1
lint fix
Dec 15, 2024
da2821f
Merge branch 'bgruening:master' into sylph
tcollins2011 Dec 16, 2024
2dfa011
fixed database tabs
tcollins2011 Dec 16, 2024
bdc5e02
added history database test
tcollins2011 Dec 16, 2024
35d6a24
Merge branch 'master' into sylph
bgruening Mar 27, 2025
5cc9611
add sylph database and sylph-tax metadatas DM
hugolefeuvre Apr 22, 2025
03244e5
update sylph version, add sketch fasta, sylph-tax and DM informations
hugolefeuvre Apr 22, 2025
4ea1e5a
Merge pull request #1 from hugolefeuvre/sylph
tcollins2011 Apr 30, 2025
cec595b
delete >1Mo fasta file, add a remote file to replace it, add sort int…
hugolefeuvre May 6, 2025
5ccf6cc
same changes in query
hugolefeuvre May 6, 2025
6044e48
change value into location
hugolefeuvre May 6, 2025
b9c910c
Merge pull request #2 from hugolefeuvre/sylph
tcollins2011 May 7, 2025
b307470
add long description into shed sylph tax DM
hugolefeuvre May 7, 2025
1ab2a4c
Merge pull request #3 from hugolefeuvre/sylph
tcollins2011 May 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tools/sylph/.shed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: sylph
owner: iuc
description: ANI querying and metagenomic profiling
long_description: sylph is a program that performs ultrafast (1) ANI querying or (2) metagenomic profiling for metagenomic shotgun samples.
homepage_url: https://github.com/bluenote-1577/sylph
remote_repository_url: https://github.com/galaxyproject/tools-iuc/
categories:
- Metagenomics
type: unrestricted
auto_tool_repositories:
name_template: "{{ tool_id }}"
description_template: "{{ tool_name }} from the sylph suite"

10 changes: 10 additions & 0 deletions tools/sylph/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
For Galaxy admins and local runs:

The databases for sylph have associated metadata files. These files MUST be paired with the correct databases to output correctly. Here is the easiest location to download databases and metadata files:
For databases: https://github.com/bluenote-1577/sylph/wiki/Pre%E2%80%90built-databases
For metadata: https://github.com/bluenote-1577/sylph-utils

The tool assumes the directory the data_table references to be
<name_of_organism>
- database.syldb
- metadata.tsv.gz
55 changes: 55 additions & 0 deletions tools/sylph/macros.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<macros>
<token name="@TOOL_VERSION@">0.6.1</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@LICENSE@">MIT</token>
<xml name="requirements">
<requirements>
<requirement type="package" version="@TOOL_VERSION@">sylph</requirement>
<requirement type="package" version="3.11.9">python</requirement>
<requirement type="package" version="2.2.3">pandas</requirement>
</requirements>
</xml>
<xml name="description">
<description>Metagenomic assignments</description>
</xml>
<xml name="citation">
<citations>
<citation type="doi">10.1101/2023.11.20.567879</citation>
</citations>
</xml>
<xml name="creator">
<creator>
<organization name="University of Toronto" url="https://github.com/bluenote-1577/sylph"/>
</creator>
</xml>
<xml name="xrefs">
<xrefs>
<xref type="bio.tools">sylph</xref>
</xrefs>
</xml>
<xml name="input_database">
<conditional name="database_select">
<param name="select" type="select" label="Choose the source for databases and metadata">
<option value="cached">Cached data</option>
<option value="history">History</option>
</param>
<when value="cached">
<param label="Select a sylph database" name="sylph_database" type="select">
<options from_data_table="sylph_databases">
<validator message="No Sylph databases are available" type="no_options" />
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

add here a filter for version 1 or something like that ... and then we include version 1 in the test file.

Whenever the tool changes to DB layout we increase this version.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

ping, you are not filtering the DB here according to the version

</options>
</param>
</when>
<when value="history">
<param label="Select a history dataset" name="sylph_database" type="data" format="binary" />
<param label="Metadata file for metaphlan and krona outputs" name="metadata" type="data" format="tabular.gz" optional="true" help="The metata file MUST be directly associated with the input database. For more information, view the help text of the tool."/>
</when>
</conditional>
</xml>
<xml name="output_format">
<param label="Additional output formats" name="outputs" type="select" display="checkboxes" multiple="true" help="In addition to Sylph's tabular output, you may ouput a file converted to these formats">
<option value="metaphlan">Sylph's MetaPhlAn-like output</option>
<option value="krona">Krona compatible</option>
</param>
</xml>
</macros>
Loading