Skip to content
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

Failed translation of Galaxy tool with output collections containing data with same name #118

Open
ddeepwell opened this issue Jan 16, 2024 · 0 comments

Comments

@ddeepwell
Copy link

I'm attempting to translate the Galaxy Tool Trimmomatic, but the translation fails because of a duplicate values error on the output collections. Here is the final error message:
Exception: There are 2 duplicate values in trimmomatic's outputs: out_forward1, out_reverse1

The relevant tool output definition (shown below) shows that the duplicate values seem to come from data within separate collections.

    <collection name="fastq_out_paired" type="paired" label="${tool.name} on ${on_string}: paired">
      <filter>readtype['single_or_paired'] == "collection"</filter>
      <data name="forward" label="${tool.name} on ${readtype.fastq_pair.forward.name} (R1 paired)" format_source="fastq_pair['forward']"/>
      <data name="reverse" label="${tool.name} on ${readtype.fastq_pair.reverse.name} (R2 paired)" format_source="fastq_pair['reverse']"/>
    </collection>
      <collection name="fastq_out_unpaired" type="paired" label="${tool.name} on ${on_string}: unpaired">
        <filter>readtype['single_or_paired'] == "collection"</filter>
        <data name="forward" label="${tool.name} on ${readtype.fastq_pair.forward.name} (R1 unpaired)" format_source="fastq_pair['forward']"/>
        <data name="reverse" label="${tool.name} on ${readtype.fastq_pair.reverse.name} (R2 unpaired)" format_source="fastq_pair['reverse']"/>
    </collection>

Is there an issue with the parsing of a Galaxy tool of this form?

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

No branches or pull requests

1 participant