Skip to content

Commit

Permalink
Add tests for mhcflurry and mhcnuggets
Browse files Browse the repository at this point in the history
  • Loading branch information
tillenglert committed Aug 3, 2023
1 parent e1c5c07 commit 39fa300
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tests: ["test_bins", "test_coassembly", "test_model_information", "test_mouse_all_pep_lengths", "test_bins_only"] # add further test profiles here, will be run in parallel (but only with one nextflow version)
tests: ["test_bins", "test_coassembly", "test_model_information", "test_mouse_all_pep_lengths", "test_bins_only", "test_mhcflurry", "test_mhcnuggets_1", "test_mhcnuggets_2"] # add further test profiles here, will be run in parallel (but only with one nextflow version)
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
Expand Down
23 changes: 23 additions & 0 deletions conf/test_mhcflurry.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/metapep -profile test_assembly_only,<docker/singularity>
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 48.h

// Input data
input = "https://github.com/nf-core/test-datasets/raw/metapep/samplesheets/input.assembly_only.csv"

// Change prediction method
pred_method = 'mhcflurry'
}
23 changes: 23 additions & 0 deletions conf/test_mhcnuggets_1.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/metapep -profile test_assembly_only,<docker/singularity>
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 48.h

// Input data
input = "https://github.com/nf-core/test-datasets/raw/metapep/samplesheets/input.assembly_only.csv"

// Change prediction method
pred_method = 'mhcnuggets-class-1'
}
23 changes: 23 additions & 0 deletions conf/test_mhcnuggets_2.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/metapep -profile test_assembly_only,<docker/singularity>
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 48.h

// Input data
input = "https://github.com/nf-core/test-datasets/raw/metapep/samplesheets/input.assembly_only.csv"

// Change prediction method
pred_method = 'mhcnuggets-class-2'
}
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ profiles {
test_full { includeConfig 'conf/test_full.config' }
test_model_information { includeConfig 'conf/test_model_information.config' }
test_mouse_all_pep_lengths { includeConfig 'conf/test_mouse_all_pep_lengths.config' }
test_mhcflurry { includeConfig 'conf/test_mhcflurry.config' }
test_mhcnuggets_1 { includeConfig 'conf/test_mhcnuggets_1.config' }
test_mhcnuggets_2 { includeConfig 'conf/test_mhcnuggets_2.config' }
}

// Set default registry for Apptainer, Docker, Podman and Singularity independent of -profile
Expand Down

0 comments on commit 39fa300

Please sign in to comment.