Skip to content

Conversation

davebx
Copy link
Contributor

@davebx davebx commented Jul 10, 2017

No description provided.

@martenson
Copy link
Member

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

Copy link
Member

@bgruening bgruening left a 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' ||
Copy link
Member

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?

Copy link
Contributor Author

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.

@davebx
Copy link
Contributor Author

davebx commented Jul 14, 2017

@bgruening yeah, there seem to be some issues with the readline dependency, not sure what's breaking it yet.

@bgruening
Copy link
Member

I tried to pin the libwebp library here: conda-forge/libgd-feedstock#17
@davebx do we already have push access to these repositories?

@davebx
Copy link
Contributor Author

davebx commented Aug 7, 2017

@bgruening we did not, we do now.

@bgruening bgruening closed this Dec 17, 2017
@bgruening bgruening reopened this Dec 17, 2017
<param name="SKIPN" value="no"/>
<param name="RENAMESEQ" value="yes"/>
<output name="output" file="fastq_to_fasta1b.out" />
</test>
Copy link
Member

@nsoranzo nsoranzo Apr 27, 2018

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.

Copy link
Contributor Author

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.

@nsoranzo nsoranzo mentioned this pull request Apr 27, 2018
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
Copy link
Member

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

Copy link
Contributor Author

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" />
Copy link
Member

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.

Copy link
Contributor Author

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":
Copy link
Member

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:
Copy link
Member

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).

davebx added 2 commits May 4, 2018 12:59
 - 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" >
Copy link
Member

@bgruening bgruening May 4, 2018

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?

Copy link
Member

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.

Copy link
Contributor Author

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

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

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

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

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" />
Copy link
Member

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" >
Copy link
Member

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.

@nsoranzo nsoranzo merged commit bbb2e6b into galaxyproject:master May 8, 2018
@nsoranzo
Copy link
Member

nsoranzo commented May 8, 2018

Thanks @davebx!

@nsoranzo
Copy link
Member

nsoranzo commented May 8, 2018

@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

@davebx
Copy link
Contributor Author

davebx commented May 8, 2018

@nsoranzo yeah, apparently I need to grant repository admin privileges to IUC on TTS. I'll do that and rerun the deploy job.

@martenson
Copy link
Member

@davebx I think you need to do the same on MTS

@bgruening bgruening deleted the fastx_migrate branch May 8, 2018 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants