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

Support file type aliases #162

Open
Ferrisx4 opened this issue Jun 15, 2020 · 2 comments
Open

Support file type aliases #162

Ferrisx4 opened this issue Jun 15, 2020 · 2 comments
Assignees

Comments

@Ferrisx4
Copy link
Member

Previously discussed in #23 specifically about fastq files.

Tripal Galaxy presents a form with allowed file types based on those specified in the Galaxy tool, however the type matching is too strict. For example, the Trimmomatic tool lists the following types as input:

  • fastqsanger
  • fastqsanger.gz
  • fastqillumina
  • fastqillumina.gz
  • fastqsolexa
  • fastqsolexa.gz
    However, these are just the types, and not necessarily the extensions that these file types may have, such as fastq, fastq.gz, fq, fq.gz.

There are other file types as well that run into this error.

In the PR/Commit, for #23, there is a TODO item to allow site admins to define a list of filetype aliases (for lack of better term). This, in addition to a few preset examples of common filetype aliases, such as fastq, should be sufficient.

@Ferrisx4
Copy link
Member Author

3a9dce7 adds support for GFF (gff, gff3, gtf).

@Ferrisx4
Copy link
Member Author

It seems some tools do not report what file types they require in a way that Tripal Galaxy can interpret, and this alias functionality breaks. Inserting an "Input Dataset" tool before the actual processing tool (like hisat) is a workaround for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant