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

Sample sheet update #29

Merged
merged 134 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
9758de5
sample sheet columns changed
RobJY Nov 28, 2023
1875a2a
added simple sample sheet validation
RobJY Nov 28, 2023
84d407e
clean-up
RobJY Nov 28, 2023
793dc81
ashlar runs with single file input from sample sheet
RobJY Nov 29, 2023
da19aec
modified meta.id for new sample sheet format
RobJY Dec 1, 2023
4e736a9
non-working code on mac. making commit to test on linux.
RobJY Dec 4, 2023
b53e886
works, but needs clean-up
RobJY Dec 4, 2023
b9fcfc7
clean-up
RobJY Dec 5, 2023
ae98484
added secondary validation of marker sheet
RobJY Dec 5, 2023
8c7a017
clean-up
RobJY Dec 5, 2023
91adc46
clean-up
RobJY Dec 5, 2023
92ef9ec
added input filter for .ome.tif
RobJY Dec 6, 2023
6a47331
added dfp & ffp to ext.args in conf/modules.config
RobJY Dec 6, 2023
271c8cb
added marker sheet validation: 1-based, sequential and no gaps for cy…
RobJY Dec 7, 2023
c2d5e45
changed to new input parameter name for one row per sample
RobJY Dec 7, 2023
63a2289
added 1 row per sample per cycle sample sheet input paramter
RobJY Dec 12, 2023
51c332d
functions for making ashlar input will work with any sample sheet col…
RobJY Dec 13, 2023
26b1424
creating sample sheet index map outside channel functions; more effic…
RobJY Dec 13, 2023
b2bed1a
marker sheet validation now handles any column order
RobJY Dec 14, 2023
86b475d
clean-up
RobJY Dec 14, 2023
3c29385
made subworkflow for marker sheet validation
RobJY Dec 19, 2023
8304a79
added validation between sampleand marker sheets
RobJY Dec 19, 2023
459735c
clean-up
RobJY Dec 19, 2023
4cfd4e5
removed or commented out non-subworkflow input validation
RobJY Dec 20, 2023
26739a3
got ilastik_pixelclassification to start, but it errors out, so comme…
RobJY Dec 20, 2023
ce06d7a
segmentation failing on mac; testing on linux
RobJY Jan 5, 2024
4e0302b
segmentation working on linux
RobJY Jan 5, 2024
417e56c
changed config platform syntax
RobJY Jan 5, 2024
8947a64
workflow working up to SCIMAP_MCMICRO
RobJY Jan 8, 2024
6080ddc
changed dfp/ffp from ashlar module parameters to workflow parameters
RobJY Jan 8, 2024
f6192cf
nf-test still not working, but closer so saving progress to test with…
RobJY Jan 10, 2024
445314f
nf-test: path correction
RobJY Jan 10, 2024
c54c591
added end-to-end workflow pytest until we can get nf-test working
RobJY Jan 10, 2024
51fa930
all but 2 lint tests now passing
RobJY Jan 17, 2024
f6834ad
passes basic nf-test with fake mcmicro output channel
RobJY Jan 18, 2024
5fa9597
nf-test passes with ashlar output image as pipeline output
RobJY Jan 18, 2024
dea500a
Merge remote-tracking branch 'upstream/dev' into sample_sheet_mod
RobJY Jan 18, 2024
abfad9f
changed temporary workflow output to MCQUANT.out.csv
RobJY Jan 18, 2024
567c421
merged updates from dev
RobJY Jan 23, 2024
ebd1f6a
nf-test now checks each module output file md5sum
RobJY Jan 23, 2024
293cb93
moved marker sheets to assets and some lint warning clean-up
RobJY Jan 24, 2024
2a2ad7f
clean-up
RobJY Jan 25, 2024
9ec3d86
got basicpy working, but found issue with ashlar
RobJY Feb 2, 2024
102ede5
bugfix and no problem with ashlar; problem with my ubuntu .ome.tif vi…
RobJY Feb 2, 2024
c5922ea
now passes nf-tests
RobJY Feb 5, 2024
14a9eb3
added nf-test of basicpy output files
RobJY Feb 5, 2024
554707f
added parameter and conditionals for illumination correction
RobJY Feb 5, 2024
4e0473f
added nf-tests for each way of running illumination correction
RobJY Feb 6, 2024
23b7e66
moved illumination to generic options in schema
RobJY Feb 7, 2024
8886b33
added nf-test of 1 row per sample input and cleaned up a bit
RobJY Feb 7, 2024
7486b10
started updateing usage doc
RobJY Feb 9, 2024
8998c25
got multi-inputs working for cycle, but still need to fix marker shee…
RobJY Feb 14, 2024
4a34cf8
unified ashlar_input naming; still needs work, but a little better
RobJY Feb 14, 2024
330ec64
added test for ashlar run with multiple files
RobJY Feb 15, 2024
1b3ed9b
working test of multi-sample multi-file ashlar input
RobJY Feb 15, 2024
5888968
bug fix: last nf-test was broken; modified mesmer output file name
RobJY Feb 20, 2024
61bfaaf
I think I have fixed the multiple dfp/ffp order bug; needs test files…
RobJY Feb 22, 2024
b1f6b19
added test for multiple ashlar inputs with basicpy correction
RobJY Feb 27, 2024
9b83be0
more general solution to mutiple files
RobJY Feb 28, 2024
c2ba7c3
simplified basicpy preprocessing
RobJY Feb 28, 2024
8252e49
needs more testing and clean-up but this seems to fix multi-samples w…
RobJY Feb 28, 2024
26b6235
added test for multiple samples with multiple ashlar input files
RobJY Feb 29, 2024
3238712
clean-up
RobJY Feb 29, 2024
0f8ca7a
added test for 1 row per sample with multiple files ashlar input; it …
RobJY Mar 5, 2024
63c6181
added support for 3rd col in 1 row per sample for cycle images and th…
RobJY Mar 6, 2024
6fe7538
added test for 1 row per sample with multiple input files for ashlar …
RobJY Mar 6, 2024
84d7673
added test for 1 row per sample with multiple ashlar input files, mul…
RobJY Mar 6, 2024
88c93b2
added test for manual illumination correction with multiple file ashl…
RobJY Mar 7, 2024
a5acb91
added check on 1 row per sample directory column for ending slash and…
RobJY Mar 7, 2024
11c7166
added file existence check for 1 row per sample samplesheet directory…
RobJY Mar 7, 2024
5c63957
to remove a full path in 2 files I moved nextflow_schema.json to asse…
RobJY Mar 11, 2024
1f4e439
clean-up
RobJY Mar 11, 2024
c66b922
clean-up
RobJY Mar 11, 2024
244f8ac
removed most full paths from testing code
RobJY Mar 11, 2024
9c14cb4
removed remaining full paths from test code
RobJY Mar 11, 2024
78c3991
removed most of the full paths samplesheets
RobJY Mar 12, 2024
17dc2dc
clean-up
RobJY Mar 12, 2024
e677180
clean-up
RobJY Mar 12, 2024
be6050c
commented out unused SAMPLESHEET_CHECK and cleaned-up
RobJY Mar 12, 2024
38ded4e
removed redundancies from input_check.nf subworkflow
RobJY Mar 13, 2024
c1732af
removed another full path
RobJY Mar 13, 2024
b786c28
corrected regex in schemas
RobJY Mar 13, 2024
cf51f6c
removed unused code
RobJY Mar 14, 2024
80a6cec
added test config files to repo
RobJY Mar 14, 2024
23ff9b6
removed full paths from test config file
RobJY Mar 15, 2024
ee9cc59
tests could not read schema file from base dir, but lint tests fail w…
RobJY Mar 15, 2024
cd73f7c
bug fix: added check for missing outdir parameter
RobJY Mar 18, 2024
22fca0f
changed from pattern to enum for illumination in schema
RobJY Mar 18, 2024
81e8934
moved illumination correction files to samplesheets; they were option…
RobJY Mar 18, 2024
80bb4fd
clean-up
RobJY Mar 18, 2024
f2cda5e
bug fix: removed duplicate illumination entry from schema
RobJY Mar 18, 2024
2e51303
added explicit path to schema file for validateParameters() for fix e…
RobJY Mar 18, 2024
738ab47
made all markersheet column headers lowercase and updated associated …
RobJY Mar 18, 2024
31beeb8
bug fix: corrected filter capitalization in schema
RobJY Mar 18, 2024
bd62feb
bug fix #22: allow spaces in some marker sheet columns
RobJY Mar 19, 2024
b86ada5
bug fix #19: moved ashlar output to $outdir/registration/ashlar
RobJY Mar 19, 2024
3793f46
bug fix #19: fixed remaining output directories
RobJY Mar 20, 2024
1ec51c6
Merge remote-tracking branch 'upstream/dev' into sample_sheet_mod
jmuhlich Mar 22, 2024
fac78e2
Remove unneeded variables and params
jmuhlich Mar 22, 2024
ae0ea7f
Add patch for mesmer module
jmuhlich Mar 22, 2024
26523d9
Refine the merge with the latest template branch
jmuhlich Mar 22, 2024
e408ecd
Skip lint check on input param
jmuhlich Mar 22, 2024
b1ba238
Ignore nf-test work dir and log
jmuhlich Mar 27, 2024
f86aa4f
Specify publishDir mode for all modules
jmuhlich Mar 27, 2024
be22e16
Clean up nf-test config
jmuhlich Mar 27, 2024
32baec2
Update test profile for new pipeline inputs
jmuhlich Mar 29, 2024
c42eec5
Fix basic workflow test
jmuhlich Mar 29, 2024
763d9a6
Remove resource specs from modules.config
jmuhlich Mar 29, 2024
12cd011
Begin refreshing main.nf.test for new inputs
jmuhlich Apr 3, 2024
cb01a97
Use docker profile by default in nf-test tests
jmuhlich Apr 3, 2024
f2f0cee
Reduce rounded float precision by one more digit
jmuhlich Apr 4, 2024
1a0cca8
Update mesmer module to 0.4.2
jmuhlich Apr 4, 2024
4236472
Add mesmer tests subdirectory
jmuhlich Apr 4, 2024
4d27f3a
Adjust another test to pass
jmuhlich Apr 5, 2024
b4633b8
Move mesmer keras caching into a profile to make it optional
jmuhlich Apr 5, 2024
e946ad4
Remove old temp file
jmuhlich Apr 5, 2024
486b06c
Use hard-coded index positions for dfp/ffp
jmuhlich Apr 5, 2024
6755635
Join Ashlar and Mesmer outputs for mcquant
jmuhlich Apr 9, 2024
4b7da79
Redesign CsvUtils helper to return hashed CSV content
jmuhlich Apr 9, 2024
e926688
Finish refactoring tests
jmuhlich Apr 11, 2024
b6a82b6
Configure basicpy to use strong smoothing during tests
jmuhlich Apr 12, 2024
8e93786
Parameterize rounding precision in CsvUtils
jmuhlich Apr 22, 2024
306c540
Round quant values for basicpy tests to 1-5 digits
jmuhlich Apr 22, 2024
6094e5b
Loosen up a few problematic basicpy snapshots
jmuhlich Apr 23, 2024
9fa0128
Relax all basicpy mcquant snapshots to summary-only
jmuhlich Apr 23, 2024
b92057a
Fix up code formatting
jmuhlich Apr 23, 2024
6de6dee
Add nextflow test utils library (currently unused)
jmuhlich Apr 23, 2024
c75eece
Remove outdated pytests directory
jmuhlich Apr 23, 2024
5099ee4
Clean up usage docs wording and example commands
jmuhlich Apr 23, 2024
eb69c1c
Work around nextflow issue 4944 temporarily
jmuhlich Apr 24, 2024
83deeb1
Clean up nextflow schema content and usage
jmuhlich Apr 26, 2024
22b07e3
Clean up illumination param section in main config
jmuhlich Apr 26, 2024
27725a1
Eliminate local paths and spaces in sample sheets
jmuhlich May 1, 2024
68251e9
Minor change to path enumeration to support remote URLs
jmuhlich May 1, 2024
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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ results/
testing/
testing*
*.pyc
.nf-test.log
.nf-test/
3 changes: 3 additions & 0 deletions .nf-core.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
repository_type: pipeline
lint:
nextflow_config:
- params.input
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion assets/markers-test.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
channel,cycle,marker_name
channel_number,cycle_number,marker_name
1,1,DNA 1
2,1,Na/K ATPase
3,1,CD3
Expand Down
13 changes: 13 additions & 0 deletions assets/markers.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
channel_number,cycle_number,marker_name,Filter,excitation_wavelength,emission_wavelength
21,6,DNA_6,DAPI,395,431
22,6,ELANE,FITC,485,525
23,6,CD57,Sytox,555,590
24,6,CD45,Cy5,640,690
25,7,DNA_7,DAPI,395,431
26,7,CD11B,FITC,485,525
27,7,SMA,Sytox,555,590
28,7,CD16,Cy5,640,690
29,8,DNA_8,DAPI,395,431
30,8,ECAD,FITC,485,525
31,8,FOXP3,Sytox,555,590
32,8,NCAM,Cy5,640,690
5 changes: 5 additions & 0 deletions assets/markers_1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
channel_number,cycle_number,marker_name,filter,excitation_wavelength,emission_wavelength,background
21,1,DNA_6,DAPI,395,431,21
22,1,ELANE,FITC,485,525,21
23,1,CD57,Sytox,555,590,21
24,1,CD45,Cy5,640,690,21
5 changes: 5 additions & 0 deletions assets/markers_1_sp.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
channel_number,cycle_number,marker_name,filter,excitation_wavelength,emission_wavelength,background
21,1,DNA_6,DAPI,395,431,21
22,1,ELA NE,FITC,485,525,21
23,1,CD57,Sy tox,555,590,21
24,1,CD45,Cy5,640,690,21
13 changes: 13 additions & 0 deletions assets/markers_multi_12.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
channel_number,cycle_number,marker_name,filter,excitation_wavelength,emission_wavelength,background
21,1,DNA_6,DAPI,395,431,21
22,1,ELANE,FITC,485,525,21
23,1,CD57,Sytox,555,590,21
24,2,CD45,Cy5,640,690,21
25,2,DNA_7,DAPI7,395,431,21
26,2,ELANE7,FITC7,485,525,21
27,2,CD577,Sytox7,555,590,21
28,2,CD457,Cy57,640,690,21
29,3,DNA_8,DAPI7,395,431,21
30,3,ELANE8,FITC7,485,525,21
31,3,CD578,Sytox7,555,590,21
32,3,CD458,Cy57,640,690,21
9 changes: 9 additions & 0 deletions assets/markers_multi_8.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
channel_number,cycle_number,marker_name,filter,excitation_wavelength,emission_wavelength,background
21,1,DNA_6,DAPI,395,431,21
22,1,ELANE,FITC,485,525,21
23,1,CD57,Sytox,555,590,21
24,2,CD45,Cy5,640,690,21
25,2,DNA_7,DAPI7,395,431,21
26,2,ELANE7,FITC7,485,525,21
27,3,CD577,Sytox7,555,590,21
28,3,CD457,Cy57,640,690,21
4 changes: 2 additions & 2 deletions assets/samplesheet-test.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sample,data,markerFile,tissue
TEST1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif,https://raw.githubusercontent.com/jmuhlich/mcmicro/fbe30831fc0f82eeabdca19907e1e90cafb888db/assets/markers-test.csv,tonsil
sample,cycle_number,channel_count,image_tiles
TEST1,1,4,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif
2 changes: 2 additions & 0 deletions assets/samplesheet_1_row_sample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample,image_directory,cycle_images
TEST1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff,cycif-tonsil-cycle1.ome.tif
2 changes: 2 additions & 0 deletions assets/samplesheet_1_row_sample_cycle.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample,cycle_number,channel_count,image_tiles
TEST1,1,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif
2 changes: 2 additions & 0 deletions assets/samplesheet_1_row_sample_cycle_manual.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample,cycle_number,channel_count,image_tiles,dfp,ffp
TEST1,1,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-dfp.ome.tif,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-ffp.ome.tif
4 changes: 4 additions & 0 deletions assets/samplesheet_1_row_sample_cycle_multi.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sample,cycle_number,channel_count,image_tiles
cycif-tonsil,1,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif
cycif-tonsil,2,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle2.ome.tif
cycif-tonsil,3,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle3.ome.tif
5 changes: 5 additions & 0 deletions assets/samplesheet_1_row_sample_cycle_multi_2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sample,cycle_number,channel_count,image_tiles
cycif-tonsil,1,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle1.ome.tif
cycif-tonsil,2,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle2.ome.tif
cycif-tonsil2,2,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle2.ome.tif
cycif-tonsil2,3,10,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-cycle3.ome.tif
2 changes: 2 additions & 0 deletions assets/samplesheet_1_row_sample_manual.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample,image_directory,cycle_images,dfp,ffp
TEST1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff,cycif-tonsil-cycle1.ome.tif,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-dfp.ome.tif,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff/cycif-tonsil-ffp.ome.tif
2 changes: 2 additions & 0 deletions assets/samplesheet_1_row_sample_multi.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample,image_directory,cycle_images
TEST1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff,cycif-tonsil-cycle1.ome.tif;cycif-tonsil-cycle2.ome.tif
3 changes: 3 additions & 0 deletions assets/samplesheet_1_row_sample_multi_2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sample,image_directory,cycle_images
TEST1,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff,cycif-tonsil-cycle1.ome.tif;cycif-tonsil-cycle2.ome.tif
TEST2,https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/imaging/ome-tiff,cycif-tonsil-cycle3.ome.tif;cycif-tonsil-cycle1.ome.tif
51 changes: 0 additions & 51 deletions assets/schema_input.json

This file was deleted.

41 changes: 41 additions & 0 deletions assets/schema_input_cycle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/mcmicro/master/assets/schema_input.json",
"title": "nf-core/mcmicro pipeline - params.input_cycle schema",
"description": "Schema for the file provided with params.input_cycle",
"type": "array",
"items": {
"type": "object",
"properties": {
"sample": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "sample name must be provided and cannot contain spaces"
},
"cycle_number": {
"type": "integer",
"errorMessage": "cycle_number must be provided. It should be 1-based, sequential and have no gaps"
},
"channel_count": {
"type": "integer",
"errorMessage": "channel_count name must be provided. It should be 1-based, sequential and have no gaps"
},
"image_tiles": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Need to provide a path to a directory containing image files"
},
"dfp": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "provide path to dfp illumination correction file(s) if illumination parameter is manual"
},
"ffp": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "provide path to ffp illumination correction file(s) if illumination parameter is manual"
}
},
"required": ["sample", "cycle_number", "channel_count", "image_tiles"]
}
}
38 changes: 38 additions & 0 deletions assets/schema_input_sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/mcmicro/master/assets/schema_input.json",
"title": "nf-core/mcmicro pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "array",
"items": {
"type": "object",
"properties": {
"sample": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces"
},
"image_directory": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Need to provide a path to a directory containing image files"
},
"cycle_images": {
"type": "string",
"pattern": ".*$",
"errorMessage": "cycle images for this sample in order"
},
"dfp": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "provide path to dfp illumination correction file(s) if illumination parameter is manual"
},
"ffp": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "provide path to ffp illumination correction file(s) if illumination parameter is manual"
}
},
"required": ["sample", "image_directory"]
}
}
39 changes: 39 additions & 0 deletions assets/schema_marker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/mcmicro/master/assets/schema_input.json",
"title": "nf-core/mcmicro pipeline - params.input schema",
"description": "Schema for the file provided with params.marker_sheet",
"type": "array",
"items": {
"type": "object",
"properties": {
"channel_number": {
"type": "integer",
"errorMessage": "channel_number must be provided"
},
"cycle_number": {
"type": "integer",
"errorMessage": "cycle_number must be provided"
},
"marker_name": {
"type": "string",
"pattern": "\\S",
"errorMessage": "marker_name must be provided"
},
"filter": {
"type": "string",
"pattern": "\\S",
"errorMessage": ""
},
"excitation_wavelength": {
"type": "integer",
"errorMessage": ""
},
"emission_wavelength": {
"type": "integer",
"errorMessage": ""
}
},
"required": ["channel_number", "cycle_number", "marker_name"]
}
}
Loading
Loading