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

Add RSEM #389

Merged
merged 14 commits into from
Apr 17, 2020
Merged

Add RSEM #389

merged 14 commits into from
Apr 17, 2020

Conversation

grst
Copy link
Member

@grst grst commented Mar 3, 2020

This PR adds RSEM to the pipeline (Fixes #70).

Notes:

  • I downgraded salmon to 0.14.2 because the env could not be resolved with 1.0.0 even before adding rsem
  • Rsem will only be activated when the aligner == 'star'. Or is there a sensible way to run RSEM together with 'hisat2'?
  • Linting fails already for the dev branch. I didn't attempt to fix it, but don't believe I introduce additional lint.

PR checklist

  • PR is to dev rather than master
  • This comment contains a description of changes (with reason)
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Make sure your code lints (nf-core lint .).
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

Learn more about contributing: https://github.com/nf-core/rnaseq/tree/master/.github/CONTRIBUTING.md

@grst grst mentioned this pull request Mar 3, 2020
3 tasks
@grst grst closed this Mar 4, 2020
@grst grst reopened this Mar 4, 2020
@apeltzer
Copy link
Member

apeltzer commented Mar 5, 2020

Merged the template already today, so if you wait for around 30 mins, at least the linting should be fine then...

@grst
Copy link
Member Author

grst commented Mar 9, 2020

Merge #394 first.

@grst grst marked this pull request as ready for review March 10, 2020 18:57
@grst grst requested a review from apeltzer March 10, 2020 18:57
@grst grst requested a review from a team March 26, 2020 07:00
abhi18av
abhi18av previously approved these changes Mar 26, 2020
Comment on lines 47 to 31
results['Qualimap'] = '<span style="color:#999999;\">N/A</span>'
results['MultiQC'] = '<span style="color:#999999;\">N/A</span>'
results["nf-core/rnaseq"] = '<span style="color:#999999;">N/A</span>'
results["Nextflow"] = '<span style="color:#999999;">N/A</span>'
Copy link
Member

@abhi18av abhi18av Mar 26, 2020

Choose a reason for hiding this comment

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

@grst , I'm not sure that these editor-config i.e. ' to " related changes are necessary. Or perhaps we are adapting this as a convention throughout?

Copy link
Member

Choose a reason for hiding this comment

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

We don't usually enforce this kind of thing (except for maybe tabs/spaces). I wrote this code originally I think and I prefer single quotes, everyone has their own preference 😉 Generally I think it's nicest to just stick with whatever is already there though, saves a massive diff and means the line history is fair.

Copy link
Member

Choose a reason for hiding this comment

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

Though here it looks like the backslashes need removing in the span, so it doesn't really matter.

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like I didn't pay attention to my black.
I agree that diffs should be minimal and will revert this (except for the superfluous backslashes I guess)

Comment on lines -1540 to +1677
* STEP 11 - Transcriptome quantification with Salmon
* STEP 15 - Transcriptome quantification with Salmon
Copy link
Member

Choose a reason for hiding this comment

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

This is a good idea to divide the codebase in steps, however, these tend to add maintainence as well and eventuallly become out of sync. Maybe we could start relying on NOTE or simply STEP for this purpose?

@abhi18av abhi18av dismissed their stale review March 26, 2020 07:26

Better to wait for a more experienced reviewer

skip_rsem = params.skip_rsem
if (!params.skipAlignment && !params.skip_rsem && params.aligner != "star") {
skip_rsem = true
println "RSEM only works with STAR. Disabling RSEM."
Copy link
Contributor

Choose a reason for hiding this comment

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

According to the release notes for RSEM 1.3.3 (https://deweylab.github.io/RSEM/updates.html) there is now a hisat option available.

Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't aware of that. Would indeed be a nice addition.
However I won't have time to look into this any time soon.

Therefore, I opt for merging it now, and adding RSEM+Hisat support in a second PR.

Copy link
Member

Choose a reason for hiding this comment

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

Noted - merging this PR now.

Copy link
Member

@abhi18av abhi18av left a comment

Choose a reason for hiding this comment

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

Looks good to merge

@abhi18av abhi18av merged commit f029b7d into nf-core:dev Apr 17, 2020
@drpatelh drpatelh mentioned this pull request Aug 18, 2020
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

Successfully merging this pull request may close these issues.

5 participants