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

Add samtools cramsize #5743

Merged
merged 86 commits into from
Jun 3, 2024
Merged

Add samtools cramsize #5743

merged 86 commits into from
Jun 3, 2024

Conversation

SPPearce
Copy link
Contributor

@SPPearce SPPearce commented Jun 3, 2024

PR checklist

Closes #XXX

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

limrp and others added 30 commits June 24, 2023 16:10
Adding name of the tool

Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Adding prefix to make the module set up more flexible.

Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Changing `.baseName` by `prefix` in output names.

Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
- Stub section added to main.nf script.
- test.yml file added to module samtools/cramsize
* Update manta somatic

* Update manta tumoronly
* add call subcommand

* at calls runs now [skip ci]

* add test files

* linting

* fix tests

* add contains check

* Update tests/modules/nf-core/varlociraptor/callvariants/main.nf

Co-authored-by: Maxime U Garcia <maxime.garcia@scilifelab.se>

---------

Co-authored-by: Maxime U Garcia <maxime.garcia@scilifelab.se>
* add module template

* first version

* update testing and linting

* update file naming

* update test

* fix test
* ngmerge first commit

* main module code

* complete module

* remove trailing whitespace

* fix versions.yml

* fix version yml

* versions yml

* vyml

* try vyml again

* touch versions yml

* vyml
* initial commit

* module version 1

* full testing

* linting

* fix version yaml

* fix version yaml command

* fix version yml maybe this time please

* fix version yml for real this time

* try again versions yaml

* fix version yml

* vyml

* version yaml

* vyml

* update ref to have meta
Co-authored-by: Steven Strong <steven.strong@adelabio.com>
* new module picard/scatterintervalsbyns

* update annotsv to 3.3.6

* update installannotations

* update vardictjava
* Start adding modules from #scrnaseq for simpleaf

* Fix tests

* t2gene is necessary, simplify tests

* Linteing fixes

* Fix test files

* Test fixes

* prettier

* Address feedback

* Update test string- logs in newer version lack some messages

* Apply suggestions from code review

Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>

* Post-review index fixes

* Post-review quant fixes

* add stubs

* Add metas, fix meta usage

* Appease eclint

---------

Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
module currently fails, i've fixed the error in icount-mini so now by bumping the version here we fix the issue (old matplotlib syntax)
* Set up nf-core template for purecn/run module

* Add run script and I/O

* Clean TODOs and set main script

* Fix duplicate entry

* Set up main script

* [ci skip] Format with prettier

* [ci skip] Address review question and set up stub

* [ci skip] Set stub for testing

* Reformat with prettier

* [CI skip] Adjust some typos

* [CI skip] Set up test script using stub

* Set up test yml

* Reformat with prettier

* Set up meta.yml file and fix typos

* Reformat with prettier

* Fix typo

* Remove quay.io from container string

* Remove optional input argument

* Add optional outputs and clean non-mandatory parameters

* Clean non-mandatory outputs

* Reformat outputs

* Fix minor and address reviews
* new module: samtools/import

* fix versions

* fix versions some more

* Update modules/nf-core/samtools/import/main.nf

* fix meta
* Adding seqkit sliding command

* Linting fix

* Updating for better matching

* reverted to regex using end line markers for better matching other wise fastq gets caught by fa, error in other modules

* Added a test for fastq too

---------

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
* create module hicpca

* Update modules/nf-core/hicexplorer/hicpca/main.nf

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>

* Update modules/nf-core/hicexplorer/hicpca/main.nf

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>

* add more keywords.

* remove quay.io.

---------

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>
@SPPearce
Copy link
Contributor Author

SPPearce commented Jun 3, 2024

Splitting off the samtools cram-size from #3555

@SPPearce SPPearce marked this pull request as ready for review June 3, 2024 13:42
@SPPearce SPPearce requested a review from a team as a code owner June 3, 2024 13:42
@SPPearce SPPearce requested review from CarsonJM and removed request for a team June 3, 2024 13:42
Copy link
Contributor

@CarsonJM CarsonJM left a comment

Choose a reason for hiding this comment

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

LGTM! Just a teeny change regarding how the test data path is specified.

modules/nf-core/samtools/cramsize/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/samtools/cramsize/tests/main.nf.test Outdated Show resolved Hide resolved
SPPearce and others added 3 commits June 3, 2024 20:41
Co-authored-by: Carson J Miller <68351153+CarsonJM@users.noreply.github.com>
Co-authored-by: Carson J Miller <68351153+CarsonJM@users.noreply.github.com>
@SPPearce SPPearce added this pull request to the merge queue Jun 3, 2024
Merged via the queue into master with commit 49cc8dc Jun 3, 2024
12 checks passed
@SPPearce SPPearce deleted the cramsize branch June 3, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.