-
Notifications
You must be signed in to change notification settings - Fork 472
Migrate fastx toolkit from tools-devteam, condafy. #1413
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
Conversation
Please also open the corresponding PR to move the tools in the devteam repo to legacy folder. There is also a WIP PR opened against these tools from @bgruening |
Unfortunately tests are missing
-Q 33 is the default, but it needs to be set to -Q 64 for fastqillumina and fastqsolexa.
… wrapper versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davebx tests are still failing, unfortunately :(
</macros> | ||
<command><![CDATA[ | ||
command -v perl5.22.0 && | ||
perl5.22.0 `command -v fasta_clipping_histogram.pl` '$input' '$outfile' || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone know why we do this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea, and it doesn't seem like something we would need to do.
@bgruening yeah, there seem to be some issues with the readline dependency, not sure what's breaking it yet. |
I tried to pin the libwebp library here: conda-forge/libgd-feedstock#17 |
@bgruening we did not, we do now. |
<param name="SKIPN" value="no"/> | ||
<param name="RENAMESEQ" value="yes"/> | ||
<output name="output" file="fastq_to_fasta1b.out" /> | ||
</test> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should a test using fastqsanger
input format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tool now has three tests.
homepage_url: http://hannonlab.cshl.edu/fastx_toolkit/ | ||
name: fasta_clipping_histogram | ||
owner: devteam | ||
remote_repository_url: https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/tools-devteam/tools-iuc/
for all tools' remote_repository_url
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, will push once the tests complete, just in case I need to make some changes based on the results.
]]> | ||
</command> | ||
<inputs> | ||
<param format="fasta" name="input" type="data" label="Library to re-format" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add fasta.gz
to format
, otherwise using zcat
in the command
doesn't make much sense.
Similarly for the other tools using zcat
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was chewing on that myself, don't know why they used zcat
in the first place, since these tools were wrapped long before we supported fastx.gz filetypes.
<macros> | ||
<token name="@FQQUAL@"> | ||
<![CDATA[ | ||
#if $input.ext == "fastqsanger": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#if $input.is_of_type("fastqsanger", "fastqsanger.gz"):
<![CDATA[ | ||
#if $input.ext == "fastqsanger": | ||
-Q 33 | ||
#else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#elif $input.is_of_type("fastqsolexa", "fastqsolexa.gz", "fastqillumina", "fastqillumina.gz"):
Quality encoding doesn't make sense for FASTA datasets (even if it doesn't make the tool fail probably).
- Add support for fasta.bz2 - Only add quality offset flag on fastq files - Tokenize the cat command and make it dependent on input format
@@ -0,0 +1,73 @@ | |||
<tool id="cshl_fastx_renamer" name="Rename sequences" version="@VERSION@+galaxy0" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you increased all other tool versions as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also it seems that the @VERSION@
token is not defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Increased, yes. The other tools were 1.x.x, so I couldn't set them to 0.0.14
@@ -0,0 +1,65 @@ | |||
<tool id="cshl_fastq_quality_boxplot" name="Draw quality score boxplot" version="1.0.1"> | |||
<description></description> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation of this file is not correct.
<output name="output" file="fastq_to_fasta-out2.out" /> | ||
</test> | ||
</tests> | ||
<help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation of the previous 2 lines.
This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | ||
|
||
.. __: http://hannonlab.cshl.edu/fastx_toolkit/ | ||
</help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
<output name="output" file="fastx_nucleotides_distribution-out1.png" compare="sim_size" delta="512" /> | ||
</test> | ||
</tests> | ||
<help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation
.. __: http://hannonlab.cshl.edu/fastx_toolkit/ | ||
|
||
</help> | ||
<expand macro="citations" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation of the previous 2 lines.
@@ -0,0 +1,73 @@ | |||
<tool id="cshl_fastx_renamer" name="Rename sequences" version="@VERSION@+galaxy0" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also it seems that the @VERSION@
token is not defined.
Thanks @davebx! |
@davebx Upload to the Test Tool Shed is failing: "Repository contents updated but failed to update metadata for repository 'fasta_clipping_histogram' on the test Tool Shed." https://travis-ci.org/galaxyproject/tools-iuc/jobs/376368639 |
@nsoranzo yeah, apparently I need to grant repository admin privileges to IUC on TTS. I'll do that and rerun the deploy job. |
@davebx I think you need to do the same on MTS |
No description provided.