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

Update to sample sheet preparation addressing some issues arising fro… #22

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

aydemiro
Copy link
Contributor

…m the generate_sample_sheets function from the mip_functions module. That function is removed now and generating the final sample sheet from the various input files (capture plates, legacy sample sheets etc.) is handled by the sample_sheet_prep.py script. demux app is also updated to reflect this change. demux app now takes the samplesheet.csv files generated by the sample_sheet_prep.py script, and do not run the old generate_sampe_sheets function from within the mip_functions module. demux app also does not need the sequencing platform anymore. This commit also moves the barcode dictionary file from the base_resources root directory to sample_prep subdirectory for a more cohesive organization. The update changes how the sample sheets are generated so that the error arising when the first or last column of a sample file was empty (when sample_name was not the first column, for example). This update also changes the behaviour of sample_sheet_prep.py script so that when the inputs contain invalid samples, fields etc. an error is raised. The old behaviour was to print a warning message which could lead to missing samples if these warning messages are overlooked. The input files should not contain any invalid information so the new behaviour makes sure that the input information is good.

…m the generate_sample_sheets function from the mip_functions module. That function is removed now and generating the final sample sheet from the various input files (capture plates, legacy sample sheets etc.) is handled by the sample_sheet_prep.py script. demux app is also updated to reflect this change. demux app now takes the samplesheet.csv files generated by the sample_sheet_prep.py script, and do not run the old generate_sampe_sheets function from within the mip_functions module. demux app also does not need the sequencing platform anymore. This commit also moves the barcode dictionary file from the base_resources root directory to sample_prep subdirectory for a more cohesive organization. The update changes how the sample sheets are generated so that the error arising when the first or last column of a sample file was empty (when sample_name was not the first column, for example). This update also changes the behaviour of sample_sheet_prep.py script so that when the inputs contain invalid samples, fields etc. an error is raised. The old behaviour was to print a warning message which could lead to missing samples if these warning messages are overlooked. The input files should not contain any invalid information so the new behaviour makes sure that the input information is good.
@JeffAndBailey JeffAndBailey merged commit 2306380 into master Feb 21, 2022
@arisp99 arisp99 deleted the samplesheet branch February 22, 2022 15:03
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.

None yet

2 participants