Question: Extract identifiers from collection in tool XML
0
gravatar for mtn14
4 months ago by
mtn14 • 0
mtn14 • 0 wrote:

If I have a collection of files, how would I extract the identifiers in an XML to pass it into an in-house tool.

Example: I have this collection and want to pass in the identifiers (SRR*.fastq) to a tool, how would I do it?

Example

This is how I'm passing in the files: <inputs> <param name="reports" type="data" format="txt" label="Qualimap Genome Report" help="" optional="false" multiple="True" /> </inputs>

If I try to pass in ${report.name} for $reports, I just get the location of the .dat file.

ADD COMMENT • link • modified 4 months ago by Jennifer Hillman Jackson ♦ 25k • written 4 months ago by mtn14 • 0

Hello,

I asked the developers for some feedback at the Galaxy Gitter channel: https://gitter.im/galaxyproject/Lobby?at=5b60dd0dac380e3f3a10f30c

Please feel free to join in on the conversation and/or add more details.

Planemo is the recommended way to troubleshoot tool development issues, but the developers will have more input if that is not working for you, or the resolution is not covered in the current documentation (or I couldn't find it), or the functionality to do this is in progress and/or yet to be ticketed.

Thanks! Jen, Galaxy team

ADD REPLY • link modified 4 months ago • written 4 months ago by Jennifer Hillman Jackson ♦ 25k
0
gravatar for Jennifer Hillman Jackson
4 months ago by
United States
Jennifer Hillman Jackson ♦ 25k wrote:

Hello,

The developers recognized the issue and replied at Gitter.

Quoted reply from https://github.com/mvdbeek at https://gitter.im/galaxyproject/Lobby?at=5b60dd4ffe0be93f3b242d6a


.element_identifier instead of .name

There's a section on that in the planemo docs: https://planemo.readthedocs.io/en/latest/writing_advanced.html?highlight=element_identifier#processing-identifiers


Hope that helps! Jen, Galaxy team

ADD COMMENT • link written 4 months ago by Jennifer Hillman Jackson ♦ 25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 171 users visited in the last hour