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

Module/sigprofiler/1.0 #189

Merged
merged 32 commits into from
Aug 31, 2021
Merged

Module/sigprofiler/1.0 #189

merged 32 commits into from
Aug 31, 2021

Conversation

ppararaj
Copy link
Contributor

@ppararaj ppararaj commented Aug 20, 2021

Pull Request Checklists

Important: When opening a pull request, keep only the applicable checklist and delete all other sections.

Checklist for New Module

Required

  • I used the cookiecutter template and updated the placeholder rules.

  • The snakemake rules follow the design guidelines.

    • All references to the rules object (e.g. for input files) are wrapped with str().
  • Every rule in the module is either listed under localrules or has the threads and resources directives.

  • Input and output files are being symlinked into the CFG["inputs"] and CFG["outputs"] subdirectories, respectively.

  • I updated the final target rule (*_all) to include every output rule.

  • I explained important module design decisions in CHANGELOG.md.

  • I tested the module on real data for all supported seq_type values.

  • I updated the default.yaml configuration file to provide default values for each rule in the module snakefile.

  • I did not set any global wildcard constraints. Any/all wildcard constraints are set on a per-rule basis.

  • I ensured that all symbolic links are relative and self-contained (i.e. do not point outside of the repository).

  • I replaced every value that should (or might need to) be updated in the default configuration file with __UPDATE__.

  • I recursively searched for all comments containing TODO to ensure none were left. For example:

    grep -r TODO modules/<module_name>/1.0

If applicable

  • I added more granular output subdirectories.

  • I added rules to the reference_files workflow to generate any new reference files.

  • I added subdirectories with large intermediate files to the list of scratch_subdirectories in the default.yaml configuration file.

  • I updated the list of available wildcards for the input files in the default.yaml configuration file.

Checklist for Updated Module

Important! If you are updating the module version, ensure the previous version of the module is restored from master.
If you want to restore a deleted file or directory from the remote master, you can use git checkout origin/master path/to/file,
then a git commit will ensure that file is tracked on your branch again.
Example:

mv modules/strelka/1.1 modules/strelka/1.2
git checkout origin/master modules/strelka/1.1

modules/sigprofiler/1.0/sigprofiler.smk Show resolved Hide resolved
workflows/reference_files/2.4/reference_files.smk Outdated Show resolved Hide resolved
@ppararaj
Copy link
Contributor Author

ppararaj commented Aug 23, 2021

  • Rule comments
  • Script comments
  • Additional genome support
  • contents file generation
  • parameterize sigprofiler options

lkhilton
lkhilton previously approved these changes Aug 31, 2021
@@ -0,0 +1 @@
../../../../envs/samtools/samtools-1.9.yaml
Copy link
Member

Choose a reason for hiding this comment

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

You could delete this symlink since your module doesn't actually use it.

sigprofiler:

inputs:
# Available wildcards: {file}, {seq_type}, {genome_build}
Copy link
Member

Choose a reason for hiding this comment

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

Should sample_set also be an available wildcard here?

@lkhilton lkhilton dismissed rdmorin’s stale review August 31, 2021 04:47

Prasath addressed all of Ryan's requests.

@ppararaj ppararaj merged commit f136b85 into master Aug 31, 2021
@ppararaj ppararaj deleted the module/sigprofiler/1.0 branch August 31, 2021 16:17
@ppararaj ppararaj restored the module/sigprofiler/1.0 branch August 31, 2021 16:36
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.

3 participants