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

Crisprcleanr different input (csv and defined library) #109

Merged
merged 22 commits into from
Feb 15, 2024

Conversation

LaurenceKuhl
Copy link
Contributor

@LaurenceKuhl LaurenceKuhl commented Jan 29, 2024

This PR contains the following :

  • fix the matrice creation so that the user can provided a contrast table which generates the design matrices for mageck mle
  • modify the crisprcleanr module so that it can take several outputs
  • modify the docs
  • Finish documentation
  • Diff the modules between the modules repo
  • Update changelog

Copy link

github-actions bot commented Jan 29, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit b73a0d4

+| ✅ 181 tests passed       |+
#| ❔   2 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in WorkflowCrisprseq.groovy: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.12.1
  • Run at 2024-02-15 15:17:51

@LaurenceKuhl
Copy link
Contributor Author

I'm a bit confused why the tests are failing for targeted given that I didn't touch anything on that side?

modules/nf-core/mageck/mle/main.nf Show resolved Hide resolved
workflows/crisprseq_screening.nf Outdated Show resolved Hide resolved
docs/usage/screening.md Outdated Show resolved Hide resolved
docs/usage/screening.md Outdated Show resolved Hide resolved
Co-authored-by: Júlia Mir Pedrol <[email protected]>
Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

LGTM! Only a couple of comments left

workflows/crisprseq_screening.nf Outdated Show resolved Hide resolved
if(params.crisprcleanr.endsWith(".csv")) {
ch_crisprcleanr_file = file(params.crisprcleanr)
} else {
ch_crisprcleanr_value = Channel.value(params.crisprcleanr)
Copy link
Member

Choose a reason for hiding this comment

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

If I understand from the code below, you can define the same channel name, for example ch_crisprcleanr, instead of having two different channels ch_crisprcleanr_file and ch_crisprcleanr_value

) } else
{
ch_crispr_normalize = Channel.of([id: "count_table_normalize"]).concat(ch_counts)
CRISPRCLEANR_NORMALIZE(
Copy link
Member

Choose a reason for hiding this comment

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

Have you checked if you get a warning complaining about a module used twice? You may need to import the module twice, one with an alias.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No it doesn't complain

@LaurenceKuhl LaurenceKuhl merged commit 4d1f709 into nf-core:dev Feb 15, 2024
12 checks passed
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.

2 participants