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

New module: Ultra #871

Merged
merged 36 commits into from
Nov 15, 2021
Merged

New module: Ultra #871

merged 36 commits into from
Nov 15, 2021

Conversation

sguizard
Copy link
Contributor

@sguizard sguizard commented Oct 19, 2021

New module for uLTRA: An efficient alignment method for spliced long reads

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • PROFILE=docker pytest --tag <MODULE> --symlink --keep-workflow-wd
    • PROFILE=singularity pytest --tag <MODULE> --symlink --keep-workflow-wd
    • PROFILE=conda pytest --tag <MODULE> --symlink --keep-workflow-wd

Comment on lines +59 to +61
\$(pwd)/$genome \\
\$(pwd)/$gtf \\
\$(pwd)/$reads \\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need ${pwd} here? The tool requires the full path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually yes. The tool do not resolve the file path properly yet, so full path to files is needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I re-tested this with variations, but I could also only get it to work with $(pwd) (no ./$gtf, no $gtf)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I submitted a new issue at the ULTRA-repo, with a fix-suggestion. Could be quick, but as I said on the mergathon call, I don't think it's a blocker for merging in - everything else looks good,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the issue 👍
I also think it could be merge in this temporary state.
In any case, I will update the module as soon as the patch is applied.

Copy link
Member

@drpatelh drpatelh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have added quite a bit of non-conventional code to get this module working @sguizard . Be great if we can try and make things simpler. Not entirely sure why the tool has been written this way but maybe we can discuss on the PR.

@drpatelh drpatelh added the new module Adding a new module label Oct 23, 2021
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
@sguizard
Copy link
Contributor Author

sguizard commented Nov 9, 2021

The conda test failed because it couldn't download the fastq.gz file.
I get the same result locally, and it works 10 min.
Could the conda test be restarted?

@drpatelh
Copy link
Member

Looks awesome! Thanks @sguizard !

@drpatelh drpatelh merged commit 4a9bfec into nf-core:master Nov 15, 2021
@lassefolkersen
Copy link
Contributor

@sguizard there's actually a new release now, that's supposed to avoid the $pwd problem. But I guess that can wait for next release.

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

Successfully merging this pull request may close these issues.

None yet

3 participants