Skip to content

Pseudo PR against TEMPLATE for checking the pipeline #33

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

Draft
wants to merge 322 commits into
base: TEMPLATE
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
3af2b0b
test mode not needed
PascalIversen Jul 22, 2024
7382c8b
black
PascalIversen Jul 22, 2024
a466aa9
Merge branch 'main' of github.com:JudithBernett/nf-core-drugresponseeval
JudithBernett Aug 1, 2024
b8e62be
Revert "todos for @Pascal #8"
PascalIversen Jul 22, 2024
498c4e4
Merge branch 'main' of github.com:JudithBernett/nf-core-drugresponseeval
JudithBernett Aug 1, 2024
c1e78a0
redundancy removed, closes #8
JudithBernett Aug 2, 2024
9c21936
Cross-study prediction is now supported, closes #2. Also some visuali…
JudithBernett Aug 9, 2024
73ab053
Critical difference plot included and drawn successfully
JudithBernett Aug 19, 2024
ad72844
Added docker and singluarity containers to config - testing wave, mig…
JudithBernett Aug 19, 2024
fde1769
3 cpus allowed for training
JudithBernett Aug 21, 2024
149d057
Update README.md
JudithBernett Aug 29, 2024
50d17f4
trying to restructure everything such that SingleDrugModels can be tr…
JudithBernett Aug 30, 2024
9e0d1ec
fix make model channel
PascalIversen Sep 12, 2024
d788b66
fixing commas
PascalIversen Sep 12, 2024
a0e1eed
.
PascalIversen Sep 12, 2024
74773de
improves eval code
PascalIversen Sep 12, 2024
f1e03ca
Merge branch 'main' of github.com:JudithBernett/nf-core-drugresponseeval
JudithBernett Sep 16, 2024
5837dde
pipeline runs for elasticnet + toydata
JudithBernett Sep 17, 2024
bcb8fce
fixed cross study
JudithBernett Sep 17, 2024
5d20b30
I think it's fixed for singledrugmodels?
JudithBernett Sep 18, 2024
36c462e
updated readme
JudithBernett Sep 24, 2024
e496f39
Merge branch 'main' into single_model_restructuring
JudithBernett Sep 24, 2024
637918e
trying to consolidate results - does not work yet
JudithBernett Oct 2, 2024
f95a292
consolidating results! Now works for --models SingleDrugRandomForest …
JudithBernett Oct 4, 2024
417bac2
pipeline also works for cross validation now
JudithBernett Oct 8, 2024
09d7b71
fixed that hyperparameter split is just executed per model class, not…
JudithBernett Oct 28, 2024
b4d8185
fixed error in consolidate_results.py
JudithBernett Oct 28, 2024
6f3d58a
had limited cpus to 3
JudithBernett Oct 28, 2024
71467ba
trying to have gpu support
JudithBernett Oct 31, 2024
8669fd3
trying to have gpu support pt. 2: only for specific models
JudithBernett Oct 31, 2024
bb5480b
doesn't work yet - setting label to process_gpu everywhere for now
JudithBernett Oct 31, 2024
7a6f4f0
doesn't work yet - setting label to process_gpu everywhere for now
JudithBernett Oct 31, 2024
bad410f
forgot the brackets
JudithBernett Oct 31, 2024
2fa47e7
copying results
JudithBernett Nov 4, 2024
0ca4213
more cpus for train_and_predict
JudithBernett Nov 4, 2024
a09503b
incorporated updates from the package
JudithBernett Nov 15, 2024
c8c3a1a
Merge branch 'dev' into nf-core-template-merge-3.0.1
JudithBernett Nov 15, 2024
27d583d
fixed pre-commit
JudithBernett Nov 15, 2024
3ad2c3d
Merge branch 'nf-core-template-merge-3.0.1' into single_model_restruc…
JudithBernett Nov 15, 2024
d3a8864
Merge pull request #10 from nf-core/nf-core-template-merge-3.0.1
JudithBernett Nov 15, 2024
f565bd5
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Nov 15, 2024
f0742f6
removed fastqc, multiqc. Removed max_multiqc_email_size from schema. …
JudithBernett Nov 15, 2024
246d54d
changed gitignore to include intellij .idea folder
JudithBernett Nov 15, 2024
eed2178
fixed linting
JudithBernett Nov 15, 2024
7e02d44
fixed pre-commit
JudithBernett Nov 15, 2024
a6acf53
trying to get the new logos
JudithBernett Nov 15, 2024
39826d5
new logos
JudithBernett Nov 15, 2024
30d4990
new logos
JudithBernett Nov 15, 2024
1ed774a
going to document more
JudithBernett Nov 15, 2024
29cd07d
trying to fix the images
JudithBernett Nov 15, 2024
a8622e7
trying to fix images #2
JudithBernett Nov 15, 2024
e10534d
trying to fix logo part 3
JudithBernett Nov 15, 2024
a3fa5c4
Found the problem. The hack is to switch to the TEMPLATE branch and c…
JudithBernett Nov 15, 2024
2173181
trying to fix .nf-core.yml check
JudithBernett Nov 15, 2024
a981ca7
it didn't update?
JudithBernett Nov 15, 2024
d18dfc5
fixed -profile test but still need to put the requirements on docker …
JudithBernett Nov 18, 2024
6ea8f84
added container with latest drevalpy version
JudithBernett Nov 21, 2024
f43dbbc
added conda support
JudithBernett Nov 22, 2024
a3ea0d6
Proper usage documentation
JudithBernett Nov 22, 2024
f0f9417
Proper output documentation, removed unnecessary statements in the mo…
JudithBernett Nov 22, 2024
9839312
change log for the pull request
JudithBernett Nov 22, 2024
e01cbdc
added citations for implemented and adapted drug response prediction …
JudithBernett Nov 22, 2024
268ba95
trying to fix version comment
JudithBernett Nov 25, 2024
aafd92a
trying to fix ci.yml
JudithBernett Nov 25, 2024
95cde66
trying to fix ci.yml
JudithBernett Nov 25, 2024
4af82b0
rolling back ci.yml
JudithBernett Nov 25, 2024
29c8d0d
does this template_version_comment.yml update now?
JudithBernett Nov 25, 2024
238ea46
Remove unnecessary statements in .nf-core.yml
JudithBernett Nov 25, 2024
87db9b1
remove unnecessary statements in .nf-core.yml
JudithBernett Nov 25, 2024
1936911
Merge branch 'linting_and_testing' of github.com:nf-core/drugresponse…
JudithBernett Nov 25, 2024
1857efa
sorted the cited implemented tools alphabetically, renamed the pipeli…
JudithBernett Nov 25, 2024
304a695
ignoring input parameter
JudithBernett Nov 25, 2024
004555c
forgot to remove input from nextflow.config
JudithBernett Nov 25, 2024
3d00d07
Merge pull request #11 from nf-core/linting_and_testing
JudithBernett Nov 25, 2024
5c8301a
intermediate commit, added CurveCurator logic
picciama Nov 25, 2024
5904671
Merge branch 'dev' into feature/curvecurator_module
picciama Nov 25, 2024
beaf400
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Nov 26, 2024
e2efb01
does not work with path_data as path, need it as val for -resume to work
JudithBernett Nov 29, 2024
106e497
adjusted params for new drevalpy handling
picciama Dec 2, 2024
4793866
ensured output and task requirements are correct
picciama Dec 2, 2024
d353703
fixed missing measure arg and fit_curves includes
picciama Dec 3, 2024
08cdcc8
syntax error fix in call to FIT_CURVES
picciama Dec 3, 2024
82d9193
fix missing comma in call to RUN_CV
picciama Dec 3, 2024
127d72d
added default measure and fixed arg type
picciama Dec 3, 2024
df8e42f
add missing path_data arg to params_check
picciama Dec 3, 2024
37139c5
fix syntax errors and wrong args / file modes
picciama Dec 3, 2024
e00b5cb
fixed argument parsing bug
picciama Dec 3, 2024
67b073c
add missing dataset_name arg
picciama Dec 3, 2024
069e714
separated fitting into three modules
picciama Dec 4, 2024
01b8936
fixed paths and emits
picciama Dec 4, 2024
e4bd724
fixed publishDirs
picciama Dec 4, 2024
b9f3cf2
fixed missing params ref in publishDir
picciama Dec 4, 2024
befa368
ensure LOAD_RESPONSE is waiting
picciama Dec 4, 2024
719e2ff
fixed path data problems, problem was missing params. in front of pat…
JudithBernett Dec 5, 2024
b3af48f
created separate preprocessing workflow
picciama Dec 5, 2024
66bb18b
added missing commas
picciama Dec 5, 2024
4a67fa3
Merge branch 'feature/curvecurator_module' of https://github.com/picc…
JudithBernett Dec 5, 2024
98c7800
giving path_data as value, not as channel, does not work otherwise
JudithBernett Dec 5, 2024
674bf15
giving back valid measure variables:
JudithBernett Dec 5, 2024
cd57894
remove trailing whitespaces
picciama Dec 10, 2024
9bcf376
c
PascalIversen Dec 16, 2024
9278626
checkpointing
PascalIversen Dec 16, 2024
28ed897
deleted notes
JudithBernett Jan 13, 2025
2d6a15e
Merge branch 'feature/curvecurator_module' of https://github.com/picc…
JudithBernett Jan 13, 2025
7680d22
changing something small to retrigger github action
JudithBernett Jan 13, 2025
a5b42d0
schema
PascalIversen Jan 13, 2025
794fb17
pre-commit
PascalIversen Jan 13, 2025
d2ae9e7
auto fix lint nfcore
PascalIversen Jan 13, 2025
ef7b004
Merge branch 'dev' into nf-core-template-merge-3.1.1
JudithBernett Jan 13, 2025
9ab5af9
Merge branch 'nf-core-template-merge-3.1.1' of github.com:nf-core/dru…
JudithBernett Jan 13, 2025
6e59226
fixed pre-commit
JudithBernett Jan 13, 2025
e627d9f
fixed container and env to latest
JudithBernett Jan 13, 2025
a9f7167
Merge branch 'nf-core-template-merge-3.1.1' into global_checkpoint_dir
JudithBernett Jan 13, 2025
da69223
Merge pull request #16 from nf-core/global_checkpoint_dir
JudithBernett Jan 13, 2025
f1f5e94
Merge branch 'dev' of https://github.com/picciama/drugresponseeval in…
JudithBernett Jan 13, 2025
590f7c6
merged latest dev version
JudithBernett Jan 13, 2025
a33acb7
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Jan 13, 2025
b0d8ac6
Merge branch 'dev' into fix/datapath
JudithBernett Jan 13, 2025
a8cd55f
./data -> data
JudithBernett Jan 13, 2025
65bfa0b
Lots of fixes:
JudithBernett Jan 29, 2025
3797462
did not work with relative default path yet, maybe now
JudithBernett Jan 29, 2025
db805e9
updated documentation
JudithBernett Jan 29, 2025
3f276ec
Merge pull request #18 from nf-core/fix/datapath
JudithBernett Jan 29, 2025
eee9a57
Merge branch 'dev' of https://github.com/picciama/drugresponseeval in…
JudithBernett Jan 29, 2025
f83dcde
merged latest dev version
JudithBernett Jan 29, 2025
f24c762
Merge branch 'dev' into nf-core-template-merge-3.2.0
JudithBernett Jan 29, 2025
9f502d6
Merge pull request #20 from nf-core/nf-core-template-merge-3.2.0
PascalIversen Jan 29, 2025
83b4f54
fixed schema
JudithBernett Jan 29, 2025
b628a0d
Merge branch 'dev' of https://github.com/picciama/drugresponseeval in…
JudithBernett Jan 29, 2025
35350da
Merge branch 'dev' into feature/curvecurator_module
JudithBernett Jan 29, 2025
a25e8d8
fixed curvecurator-related tasks to work within the Nextflow logic, i…
JudithBernett Jan 30, 2025
c7452d8
updated CITATIONS.md for curvecurator
JudithBernett Jan 30, 2025
060d2b6
updated CHANGELOG.md
JudithBernett Jan 30, 2025
1176dc4
minor changes
JudithBernett Jan 30, 2025
f69bf66
Merge pull request #14 from picciama/feature/curvecurator_module
JudithBernett Jan 30, 2025
ead067a
Update env.yml
JudithBernett Jan 30, 2025
1bd26aa
Merge pull request #21 from nf-core/JudithBernett-patch-1
JudithBernett Jan 30, 2025
87a26c9
Update env.yml
JudithBernett Feb 12, 2025
f6ef83b
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Feb 13, 2025
f436ad7
Merge pull request #23 from nf-core/JudithBernett-patch-1
PascalIversen Feb 13, 2025
db41e2d
Update env.yml
JudithBernett Feb 21, 2025
ca2560d
Merge pull request #24 from nf-core/JudithBernett-patch-1
PascalIversen Feb 21, 2025
a0ceb0d
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Feb 24, 2025
967d64d
Fix python version in env.yml
JudithBernett Feb 24, 2025
a91910a
Update env.yml
JudithBernett Feb 24, 2025
73257c2
Merge pull request #25 from nf-core/JudithBernett-patch-1
JudithBernett Feb 24, 2025
8adf5a5
Update env.yml
JudithBernett Feb 25, 2025
9383ba8
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Feb 27, 2025
2927f53
Update env.yml
JudithBernett Feb 28, 2025
634640d
Update env.yml
JudithBernett Mar 2, 2025
008c24a
forgot to give the single drug id to the cross study prediction, resu…
JudithBernett Mar 6, 2025
2fc414d
new version, testing array
JudithBernett Mar 6, 2025
7940669
minor mistake
JudithBernett Mar 7, 2025
d520781
new version
JudithBernett Mar 7, 2025
c747af4
randomization_fix
JudithBernett Apr 7, 2025
ed89b74
fixed randomization error
JudithBernett Apr 7, 2025
eaf4e65
adapting the pipeline to the latest version, also restructuring the v…
JudithBernett May 8, 2025
3464f9b
updated documentation
JudithBernett May 8, 2025
5c17b78
updated README.md
JudithBernett May 8, 2025
d7ed4f3
updated changelog and schema
JudithBernett May 8, 2025
6242d5c
Merge branch 'JudithBernett-patch-1' into nf-core-template-merge-3.2.1
JudithBernett May 8, 2025
4ed4ce9
Merge pull request #29 from nf-core/nf-core-template-merge-3.2.1
JudithBernett May 8, 2025
eedbe10
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett May 8, 2025
df6bf78
new version
JudithBernett May 9, 2025
0c88c49
small error fix
JudithBernett May 9, 2025
6181ab3
linting
JudithBernett May 9, 2025
6f8261d
old nextflow doesn't like contribution types
JudithBernett May 9, 2025
99c8747
Merge pull request #31 from nf-core/update-2
JudithBernett May 9, 2025
f9cd894
v1.1.0 instead of 1.1
JudithBernett May 9, 2025
767dec4
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett May 9, 2025
273b04c
updating usage information for contributing own models
JudithBernett May 9, 2025
3dea583
Update docs/usage.md
JudithBernett May 9, 2025
06739d8
Merge pull request #34 from nf-core/update-2
JudithBernett May 9, 2025
42a4796
Update README.md
JudithBernett May 9, 2025
6892749
wrong space
JudithBernett May 9, 2025
64af57a
bug for when output is optional for evaluation
JudithBernett May 9, 2025
152ce04
Merge pull request #35 from nf-core/readme-update
JudithBernett May 9, 2025
dbc85a9
harmonized versions
JudithBernett May 15, 2025
10f5f25
Merge pull request #36 from nf-core/fix_versions
JudithBernett May 16, 2025
e90346f
some quick fixes
JudithBernett May 28, 2025
ac4d2f8
Various fixes:
JudithBernett May 28, 2025
ce8074e
Parameter check is now fully done with nf-core/Groovy
JudithBernett May 30, 2025
d8695a4
I think I managed to do the load_response more Nextflow-y now
JudithBernett Jun 2, 2025
a628506
have to add containers
JudithBernett Jun 2, 2025
220953d
forgot ""
JudithBernett Jun 2, 2025
4629517
updated documentation
JudithBernett Jun 2, 2025
98b1acb
does it at least work like this?
JudithBernett Jun 3, 2025
e26b324
probably because it was not a path
JudithBernett Jun 3, 2025
34b5b1a
NO_FILE has to exist for AWS. Also added icon and made main the defau…
JudithBernett Jun 3, 2025
0909bf8
Updated changelog, citations, TODOs.
JudithBernett Jun 3, 2025
9b2df7b
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Jun 3, 2025
d9cfc14
Merge branch 'dev' into nf-core-template-merge-3.3.1
JudithBernett Jun 3, 2025
28fd9fe
modules.json fix, now also dumpsoftwareversions
JudithBernett Jun 4, 2025
af10214
added versions everywhere, removed visualization subworkflow because …
JudithBernett Jun 4, 2025
0164573
updated nextflow/nf-core utils subworkflows
JudithBernett Jun 4, 2025
a8e36ac
updated dumpsoftwareversions
JudithBernett Jun 4, 2025
8186a95
fixed pre-commit
JudithBernett Jun 4, 2025
0e3c30a
removed check params (is removed in the other branch anyway), tempora…
JudithBernett Jun 4, 2025
718e9c1
Merge branch 'fix_distributed_systems' into nf-core-template-merge-3.3.1
JudithBernett Jun 5, 2025
c7fe294
forgot to delete vis subworkflow
JudithBernett Jun 5, 2025
42d1b4a
removed todo, fixed ro-crate
JudithBernett Jun 5, 2025
ae137c4
forgot version for unzip
JudithBernett Jun 5, 2025
36f0b02
merged incorrectly
JudithBernett Jun 5, 2025
7786a74
updated modules
JudithBernett Jun 5, 2025
d7a37e2
removed dumpsoftwareversions
JudithBernett Jun 5, 2025
f66dfc2
using softwareVersionsToYAML now
JudithBernett Jun 5, 2025
6fa5be6
changing modules.json
JudithBernett Jun 5, 2025
40d26d6
it made it empty?
JudithBernett Jun 5, 2025
609c091
this is all very confusing
JudithBernett Jun 5, 2025
5b64f98
hm
JudithBernett Jun 5, 2025
4040c16
this is so weird why do i need this module
JudithBernett Jun 5, 2025
0e281e0
Update .github/actions/nf-test/action.yml
JudithBernett Jun 5, 2025
b4769b2
Merge branch 'nf-core-template-merge-3.3.1' of github.com:nf-core/dru…
JudithBernett Jun 5, 2025
2f583de
temporarily removing softwareVersionsToYAML to see what happens
JudithBernett Jun 5, 2025
7cab42c
I don't use MQC, so it can't find this file
JudithBernett Jun 5, 2025
96bac72
snapshot for nf-test
JudithBernett Jun 5, 2025
8f98f7e
snapshot for nf-test, updated with ignores for variable files
JudithBernett Jun 5, 2025
81a084b
Added versions everywhere and added softwareVersionsToYAML for export…
JudithBernett Jun 5, 2025
a8e5284
had to hardcode this
JudithBernett Jun 5, 2025
22717f7
Merge pull request #38 from nf-core/fix_distributed_systems
JudithBernett Jun 5, 2025
675774f
Merge remote-tracking branch 'origin/dev' into nf-core-template-merge…
JudithBernett Jun 5, 2025
4df298c
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Jun 6, 2025
2e4b61d
added authors and licenses to python scripts: closes #40. Moved publi…
JudithBernett Jun 6, 2025
b0ca819
updated CHANGELOG.md
JudithBernett Jun 6, 2025
402999b
Merge branch 'dev' into nf-core-template-merge-3.3.1
JudithBernett Jun 6, 2025
a4f6486
new day, new try!
JudithBernett Jun 6, 2025
cf8bd69
I have this file now, just without mqc
JudithBernett Jun 6, 2025
3379a56
snap outdated - should work now? :))))
JudithBernett Jun 6, 2025
b76aab6
template bug fix
mashehu Jun 9, 2025
6283013
Merge branch 'nf-core-template-merge-3.3.1' of github.com:nf-core/dru…
JudithBernett Jun 11, 2025
18180ce
trying the hacky solution
JudithBernett Jun 11, 2025
a4cba10
Merge pull request #39 from nf-core/nf-core-template-merge-3.3.1
JudithBernett Jun 16, 2025
9592a9e
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Jun 16, 2025
9da18e5
Merge pull request #42 from nf-core/add_license_change_publishdir
JudithBernett Jun 16, 2025
66e65a9
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev
JudithBernett Jun 16, 2025
13e8b5a
updated the drevalpy version, bumped docker to python 3.13, added unz…
JudithBernett Jun 17, 2025
f0f6954
local env files because nf-test doesn't like it
JudithBernett Jun 17, 2025
d8b8dfc
removed hacky torch solution, replaced it with nice solution
JudithBernett Jun 17, 2025
a28625b
added ProteomicsElasticNet, SingleDrugProteomicsRandomForest support
JudithBernett Jun 17, 2025
c9ac09b
added no_hyperparameter_tuning flag for quick runs/debugging
JudithBernett Jun 17, 2025
1dc8785
added dataset_name to DrugResponseDataset.from_csv, making tissue col…
JudithBernett Jun 17, 2025
2b382bf
added the possibility to train a final model
JudithBernett Jun 18, 2025
bc700c3
missed new readme content for ro-crate-metadata.json
JudithBernett Jun 18, 2025
2aaf38b
parallelized the hyperparameter tuning for the final model
JudithBernett Jun 20, 2025
5e46315
added output and usage information
JudithBernett Jun 20, 2025
e83aeda
this does not need resources
JudithBernett Jun 20, 2025
782798e
forgot response transformation on training final model
JudithBernett Jun 20, 2025
430b13c
drevalpy v 1.3.4
JudithBernett Jun 23, 2025
668a60c
removed PR TEMPLATE changes
JudithBernett Jun 23, 2025
00ebfdd
Merge pull request #43 from nf-core/update_1_3_3
JudithBernett Jun 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/actions/nf-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ runs:
- name: Run nf-test
shell: bash
env:
NFT_DIFF: ${{ env.NFT_DIFF }}
NFT_DIFF_ARGS: ${{ env.NFT_DIFF_ARGS }}
NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
run: |
nf-test test \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
# TODO nf-core: You can customise AWS full pipeline tests as required
# You can customise AWS full pipeline tests as required
# Add full size test data (but still relatively small datasets for few samples)
# on the `test_full.config` test runs with only one set of parameters
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/nf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ jobs:
- name: Run nf-test
uses: ./.github/actions/nf-test
env:
NFT_DIFF: ${{ env.NFT_DIFF }}
NFT_DIFF_ARGS: ${{ env.NFT_DIFF_ARGS }}
NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
with:
profile: ${{ matrix.profile }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/template-version-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: nf-core template version comment
# This workflow is triggered on PRs to check if the pipeline template version matches the latest nf-core version.
# It posts a comment to the PR, even if it comes from a fork.

on: pull_request_target
on:
pull_request:

jobs:
template_version:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ testing/
testing*
*.pyc
null/
.idea/
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v1.1.0 - [date]

- Preprint is out now! Linking it in the documentation.
- Added support for AWS: changed the structure of load response and parameter check to conform more to Nextflow
best practices.
- Simplified visualization: multiple short processes were creating overhang → more efficient in one process.
- Fixed errors that arose from the latest drevalpy version.
- Added authors and licenses to the python scripts.
- Moved all publishDir directives to modules.config.
- Fixed drevalpy versions in conda and docker to 1.3.4: now supporting Python 3.13
- Added no_hyperparameter_tuning option for quick runs without hyperparameter tuning.
- Flag final_model_on_full data: if True, a final/production model is saved in the results directory. If hyperparameter_tuning is true, the final model is tuned, too. The model can later be loaded using the implemented load functions of the drevalpy models.

## v1.0.0 - [date]

Initial release of nf-core/drugresponseeval, created with the [nf-core](https://nf-co.re/) template.

### `Added`

- Updated to the new template
- Added tests that run with docker, singularity, apptainer, and conda
- Added the docker container and the conda env.yml in the nextflow.config. We just need one container for all
processes as this pipeline automates the PyPI package drevalpy.
- Added usage and output documentation.
- Added CurveCurator to preprocess curves of custom datasets

### `Fixed`

- Fixed linting issues
- Fixed bugs with path_data: can now be handled as absolute and relative paths

### `Dependencies`

### `Deprecated`
28 changes: 28 additions & 0 deletions CITATIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nf-core/drugresponseeval: Citations

## [DrugResponseEval](https://github.com/nf-core/drugresponseeval/)

> Bernett, J., Iversen, P., Picciani, M., Wilhelm, M., Baum, K., & List, M. **From Hype to Health Check: Critical Evaluation of Drug Response Prediction Models with DrEval.** > [10.1101/2025.05.26.655288](doi.org/10.1101/2025.05.26.655288) > _bioRxiv_, 2025-05.

## [nf-core](https://pubmed.ncbi.nlm.nih.gov/32055031/)

> Ewels PA, Peltzer A, Fillinger S, Patel H, Alneberg J, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. The nf-core framework for community-curated bioinformatics pipelines. Nat Biotechnol. 2020 Mar;38(3):276-278. doi: 10.1038/s41587-020-0439-x. PubMed PMID: 32055031.
Expand All @@ -10,6 +14,30 @@

## Pipeline tools

- [DrEvalPy](https://github.com/daisybio/drevalpy): The pipeline mostly automates the individual steps of the DrEvalPy PyPI package.

> Bernett, J, Iversen, P, Picciani, M, Wilhelm, M, Baum, K, List, M. Will be published soon.

- [CurveCurator](https://www.nature.com/articles/s41467-023-43696-z): For custom curve fitting on custom datasets. We also used it to re-process the response curves of GDSC1, GDSC2, CCLE, and CTRP.

> Bayer, F.P., Gander, M., Kuster, B., The, M. CurveCurator: a recalibrated F-statistic to assess, classify, and explore significance of dose–response curves. Nature Communications. 2023 Nov;14(7902).

- [DIPK](https://doi.org/10.1093/bib/bbae153): Implemented model in the pipeline.

> Li P, Jiang Z, Liu T, Liu X, Qiao H, Yao X. Improving drug response prediction via integrating gene relationships with deep learning. Briefings in Bioinformatics. 2024 May;25(3):bbae153.

- [MOLI](https://doi.org/10.1093/bioinformatics/btz318): Implemented model in the pipeline.

> Sharifi-Noghabi H, Zolotareva O, Collins CC, Ester M. MOLI: multi-omics late integration with deep neural networks for drug response prediction. Bioinformatics. 2019 Jul;35(14):i501-9.

- [SRMF](https://doi.org/10.1186/s12885-017-3500-5): Implemented model in the pipeline.

> Wang L, Li X, Zhang L, Gao Q. Improved anticancer drug response prediction in cell lines using matrix factorization with similarity regularization. BMC cancer. 2017 Dec;17:1-2.

- [SuperFELT](https://doi.org/10.1186/s12859-021-04146-z): Implemented model in the pipeline.

> Park S, Soh J, Lee H. Super. FELT: supervised feature extraction learning using triplet loss for drug response prediction with multi-omics data. BMC bioinformatics. 2021 May 25;22(1):269.

## Software packaging/containerisation tools

- [Anaconda](https://anaconda.com)
Expand Down
84 changes: 46 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
</h1>

[![GitHub Actions CI Status](https://github.com/nf-core/drugresponseeval/actions/workflows/ci.yml/badge.svg)](https://github.com/nf-core/drugresponseeval/actions/workflows/ci.yml)
[![GitHub Actions Linting Status](https://github.com/nf-core/drugresponseeval/actions/workflows/linting.yml/badge.svg)](https://github.com/nf-core/drugresponseeval/actions/workflows/linting.yml)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/drugresponseeval/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.XXXXXXX-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.XXXXXXX)
[![GitHub Actions Linting Status](https://github.com/nf-core/drugresponseeval/actions/workflows/linting.yml/badge.svg)](https://github.com/nf-core/drugresponseeval/actions/workflows/linting.yml)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/drugresponseeval/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.14779984-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.14779984)

[![nf-test](https://img.shields.io/badge/unit_tests-nf--test-337ab7.svg)](https://www.nf-test.com)

[![Nextflow](https://img.shields.io/badge/version-%E2%89%A524.04.2-green?style=flat&logo=nextflow&logoColor=white&color=%230DC09D&link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)
Expand All @@ -20,48 +21,43 @@

## Introduction

**nf-core/drugresponseeval** is a bioinformatics pipeline that ...

<!-- TODO nf-core:
Complete this sentence with a 2-3 sentence summary of what types of data the pipeline ingests, a brief overview of the
major pipeline sections and the types of output it produces. You're giving an overview to someone new
to nf-core here, in 15-20 seconds. For an example, see https://github.com/nf-core/rnaseq/blob/master/README.md#introduction
-->

<!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core
workflows use the "tube map" design for that. See https://nf-co.re/docs/guidelines/graphic_design/workflow_diagrams#examples for examples. -->
<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->
# ![drevalpy_summary](assets/dreval_summary.svg)

**DrEval** is a bioinformatics framework that includes a PyPI package (drevalpy) and a Nextflow
pipeline (this repo). DrEval ensures that evaluations are statistically sound, biologically
meaningful, and reproducible. DrEval simplifies the implementation of drug response prediction
models, allowing researchers to focus on advancing their modeling innovations by automating
standardized evaluation protocols and preprocessing workflows. With DrEval, hyperparameter
tuning is fair and consistent. With its flexible model interface, DrEval supports any model type,
ranging from statistical models to complex neural networks. By contributing your model to the
DrEval catalog, you can increase your work's exposure, reusability, and transferability.

1. The response data is loaded
2. All models are trained and evaluated in a cross-validation setting
3. For each CV split, the best hyperparameters are determined using a grid search per model
4. The model is trained on the full training set (train & validation) with the best
hyperparameters to predict the test set
5. If randomization tests are enabled, the model is trained on the full training set with the best
hyperparameters to predict the randomized test set
6. If robustness tests are enabled, the model is trained N times on the full training set with the
best hyperparameters
7. Plots are created summarizing the results

For baseline models, no randomization or robustness tests are performed.

## Usage

> [!NOTE]
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.

<!-- TODO nf-core: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
Explain what rows and columns represent. For instance (please edit as appropriate):

First, prepare a samplesheet with your input data that looks as follows:

`samplesheet.csv`:

```csv
sample,fastq_1,fastq_2
CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz
```

Each row represents a fastq file (single-end) or a pair of fastq files (paired end).

-->

Now, you can run the pipeline using:

<!-- TODO nf-core: update the following command to include all required parameters for a minimal example -->

```bash
nextflow run nf-core/drugresponseeval \
-profile <docker/singularity/.../institute> \
--input samplesheet.csv \
--outdir <OUTDIR>
--models <RandomForest,model2,...> \
--baselines <NaiveMeanEffectsPredictor,baseline2,...> \
--dataset_name <CTRPv2|CTRPv1|CCLE|GDSC1|GDSC2|custom_dataset>
```

> [!WARNING]
Expand All @@ -77,24 +73,36 @@ For more details about the output files and reports, please refer to the

## Credits

nf-core/drugresponseeval was originally written by Judith Bernett.
nf-core/drugresponseeval was originally written by Judith Bernett (TUM) and Pascal Iversen (FU
Berlin).

We thank the following people for their extensive assistance in the development of this pipeline:

<!-- TODO nf-core: If applicable, make list of people who have also contributed -->

## Contributions and Support

Contributors to nf-core/drugresponseeval and the drevalpy PyPI package:

- [Judith Bernett](https://github.com/JudithBernett) (TUM)
- [Pascal Iversen](https://github.com/PascalIversen) (FU Berlin)
- [Mario Picciani](https://github.com/picciama) (TUM)

If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).

For further information or help, don't hesitate to get in touch on the [Slack `#drugresponseeval` channel](https://nfcore.slack.com/channels/drugresponseeval) (you can join with [this invite](https://nf-co.re/join/slack)).

## Citations

<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. -->
<!-- If you use nf-core/drugresponseeval for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
If you use nf-core/drugresponseeval for your analysis, please cite it using the following doi: [10.5281/zenodo.14779984](https://doi.org/10.5281/zenodo.14779984)

> Our corresponding publication is at doi [10.1101/2025.05.26.655288](doi.org/10.1101/2025.05.26.655288)
>
> Bernett, J., Iversen, P., Picciani, M., Wilhelm, M., Baum, K., & List, M. **From Hype to Health Check: Critical Evaluation of Drug Response Prediction Models with DrEval.**
>
> _bioRxiv_, 2025-05.

The underlying data is available at doi: [10.5281/zenodo.12633909](https://doi.org/10.5281/zenodo.12633909).

<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
The underlying python package is drevalpy, availably on [PyPI](https://pypi.org/project/drevalpy/) as standalone, for which we also have an extensive [ReadTheDocs Documentation](https://drevalpy.readthedocs.io/en/latest/).

An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.

Expand Down
Empty file added assets/NO_FILE
Empty file.
49 changes: 49 additions & 0 deletions assets/dreval_summary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions bin/collect_results.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#!/usr/bin/env python

# Written by Judith Bernett and released under the MIT License.

import argparse
import pandas as pd
import pathlib

from drevalpy.visualization.utils import prep_results, write_results


def get_parser():
parser = argparse.ArgumentParser(description="Collect results and write to single files.")
parser.add_argument("--outfiles", type=str, nargs="+", required=True, help="Output files.")
parser.add_argument("--path_data", type=str, default="data", help="Data directory path")
return parser


def parse_results(outfiles):
# get all files with the pattern f'{model_name}_evaluation_results.csv' from outfiles
result_files = [file for file in outfiles if "evaluation_results.csv" in file]
# get all files with the pattern f'{model_name}_evaluation_results_per_drug.csv' from outfiles
result_per_drug_files = [file for file in outfiles if "evaluation_results_per_drug.csv" in file]
# get all files with the pattern f'{model_name}_evaluation_results_per_cl.csv' from outfiles
result_per_cl_files = [file for file in outfiles if "evaluation_results_per_cl.csv" in file]
# get all files with the pattern f'{model_name}_true_vs_pred.csv' from outfiles
t_vs_pred_files = [file for file in outfiles if "true_vs_pred.csv" in file]
return result_files, result_per_drug_files, result_per_cl_files, t_vs_pred_files


def collapse_file(files):
out_df = None
for file in files:
if out_df is None:
out_df = pd.read_csv(file, index_col=0)
else:
out_df = pd.concat([out_df, pd.read_csv(file, index_col=0)])
if out_df is not None and "drug" in out_df.columns:
out_df["drug"] = out_df["drug"].astype(str)
return out_df


if __name__ == "__main__":
args = get_parser().parse_args()
# parse the results from outfiles.outfiles
outfiles = args.outfiles
path_data = pathlib.Path(args.path_data)
eval_result_files, eval_result_per_drug_files, eval_result_per_cl_files, true_vs_pred_files = parse_results(outfiles)

# collapse the results into single dataframes
eval_results = collapse_file(eval_result_files)
eval_results_per_drug = collapse_file(eval_result_per_drug_files)
eval_results_per_cell_line = collapse_file(eval_result_per_cl_files)
t_vs_p = collapse_file(true_vs_pred_files)

# prepare the results through introducing new columns algorithm, rand_setting, LPO_LCO_LDO, split, CV_split
eval_results, eval_results_per_drug, eval_results_per_cell_line, t_vs_p = prep_results(
eval_results=eval_results,
eval_results_per_drug=eval_results_per_drug,
eval_results_per_cell_line=eval_results_per_cell_line,
t_vs_p=t_vs_p,
path_data=path_data
)

# save the results to csv files
write_results(
path_out="",
eval_results=eval_results,
eval_results_per_drug=eval_results_per_drug,
eval_results_per_cl=eval_results_per_cell_line,
t_vs_p=t_vs_p,
)
55 changes: 55 additions & 0 deletions bin/consolidate_results.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/usr/bin/env python

# Written by Judith Bernett and released under the MIT License.

import os
import argparse
from drevalpy.models import MODEL_FACTORY
from drevalpy.experiment import consolidate_single_drug_model_predictions


def get_parser():
parser = argparse.ArgumentParser(description="Consolidate results for SingleDrugModels")
parser.add_argument('--run_id', type=str, required=True, help="Run ID")
parser.add_argument("--test_mode", type=str, required=True, help="Test mode (LPO, LCO, LDO)")
parser.add_argument("--model_name", type=str, required=True, help="All Model "
"names")
parser.add_argument("--outdir_path", type=str, required=True, help="Output directory path")
parser.add_argument("--n_cv_splits", type=int, required=True, help="Number of CV splits")
parser.add_argument("--cross_study_datasets", type=str, nargs="+", help="All "
"cross-study "
"datasets")
parser.add_argument("--randomization_modes", type=str, required=True, help="All "
"randomizations")
parser.add_argument("--n_trials_robustness", type=int, required=True, help="Number of trials")
return parser


def main():
parser = get_parser()
args = parser.parse_args()
results_path = os.path.join(
args.outdir_path,
args.run_id,
args.test_mode,
)
if args.randomization_modes == "[None]":
randomizations = None
else:
randomizations = args.randomization_modes.split('[')[1].split(']')[0].split(', ')
model = MODEL_FACTORY[args.model_name]
if args.cross_study_datasets is None:
args.cross_study_datasets = []
consolidate_single_drug_model_predictions(
models=[model],
n_cv_splits=args.n_cv_splits,
results_path=results_path,
cross_study_datasets=args.cross_study_datasets,
randomization_mode=randomizations,
n_trials_robustness=args.n_trials_robustness,
out_path=""
)


if __name__ == "__main__":
main()
Loading
Loading