Skip to content

Commit b70b467

Browse files
authored
Merge pull request #68 from MPUSP/dev
fix: small changes to README and CI workflows
2 parents d576b5b + 42897ec commit b70b467

File tree

6 files changed

+21
-53
lines changed

6 files changed

+21
-53
lines changed

.github/workflows/conventional-prs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Conventional PRs
2+
13
on:
24
pull_request_target:
35
types:

.github/workflows/deploy-apptainer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
name: Deploy Apptainer
2+
13
on:
24
workflow_run:
3-
workflows: ["release-please"]
5+
workflows: ["Release Please"]
46
types:
57
- completed
68
workflow_dispatch:

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Release Please
2+
13
on:
24
push:
35
branches: [main]

.github/workflows/snakemake-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Snakemake Tests
2+
13
on:
24
pull_request:
35
branches: [main]

README.md

Lines changed: 11 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# snakemake-crispr-guides
22

33
[![Snakemake](https://img.shields.io/badge/snakemake-≥8.0.0-green.svg)](https://snakemake.github.io)
4-
[![GitHub actions](https://github.com/MPUSP/snakemake-crispr-guides/actions/workflows/main.yml/badge.svg)](https://github.com/MPUSP/snakemake-crispr-guides/actions/workflows/main.yml)
4+
[![GitHub Actions](https://github.com/MPUSP/snakemake-crispr-guides/actions/workflows/snakemake-tests.yml/badge.svg)](https://github.com/MPUSP/snakemake-crispr-guides/actions/workflows/snakemake-tests.yml)
55
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
66
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1D355C.svg?labelColor=000000)](https://sylabs.io/docs/)
77
[![workflow catalog](https://img.shields.io/badge/Snakemake%20workflow%20catalog-darkgreen)](https://snakemake.github.io/snakemake-workflow-catalog/docs/workflows/MPUSP/snakemake-crispr-guides.html)
@@ -31,9 +31,9 @@ A Snakemake workflow for the design of small guide RNAs (sgRNAs) for CRISPR appl
3131

3232
The usage of this workflow is described in the [Snakemake Workflow Catalog](https://snakemake.github.io/snakemake-workflow-catalog/docs/workflows/MPUSP/snakemake-crispr-guides.html).
3333

34-
Detailed information about input data and workflow configuration can also be found in the [`config/README.md`](config/README.md).
34+
Detailed information about input data and workflow configuration can be found in the [`config/README.md`](config/README.md).
3535

36-
If you use this workflow in a paper, don't forget to give credits to the author(s) by citing the URL of this (original) repository and its DOI (see above).
36+
If you use this workflow in a paper, don't forget to give credits to the author(s) by citing the URL of this repository, the release, and its DOI if available.
3737

3838
## Workflow overview
3939

@@ -60,7 +60,7 @@ The workflow is built using [snakemake](https://snakemake.readthedocs.io/en/stab
6060
6. Return report as HTML and PDF files (`weasyprint`)
6161
7. Export module logs and versions
6262

63-
If you want to contribute, report issues, or suggest features, please get in touch on [github](https://github.com/MPUSP/snakemake-crispr-guides).
63+
If you want to contribute, report issues, or suggest features, please get in touch on [GitHub](https://github.com/MPUSP/snakemake-crispr-guides).
6464

6565
## Deployment options
6666

@@ -108,47 +108,7 @@ Important requirements when using custom `*.fasta` and `*.gff` files:
108108

109109
### Parameters
110110

111-
This table lists all parameters that can be used to run the workflow.
112-
113-
| parameter | type | details | default |
114-
| ---------------------- | ------- | ---------------------------------------------- | --------------------------------- |
115-
| GET_GENOME | | | |
116-
| database | string | one of `ncbi`, `manual` | `ncbi` |
117-
| assembly | string | RefSeq ID | `GCF_000006945.2` |
118-
| fasta | path | optional input | `Null` |
119-
| gff | path | optional input | `Null` |
120-
| gff_source_type | list | allowed source types in GFF file | `'RefSeq': 'gene', ...` |
121-
| DESIGN_GUIDES | | | |
122-
| target_region | numeric | use subset of regions for testing | `["NC_003277.2"]` |
123-
| target_type | string | specify targets for guide design (see below) | `["target", "intergenic", "ntc"]` |
124-
| tss_window | numeric | upstream/downstream window around TSS | `[0, 500]` |
125-
| tiling_window | numeric | window size for intergenic regions | `1000` |
126-
| tiling_min_dist | numeric | min distance between TSS and intergenic region | `0` |
127-
| circular | logical | is the genome circular? | `False` |
128-
| canonical | logical | only canonical PAM sites are included | `True` |
129-
| strands | string | target `coding`, `template` or `both` | `both` |
130-
| spacer_length | numeric | desired length of guides | `20` |
131-
| guide_aligner | string | one of `biostrings`, `bowtie` | `biostrings` |
132-
| crispr_enzyme | string | CRISPR enzyme ID | `SpCas9` |
133-
| score_methods | string | see _crisprScore_ package | default scores are listed below |
134-
| score_weights | numeric | opt. weights when calculating mean score | `[1, 1, 1, 1, 1, 1]` |
135-
| restriction_sites | string | sequences to omit in entire guide | `Null` |
136-
| bad_seeds | string | sequences to omit in seed region | `["ACCCA", "ATACT", "TGGAA"]` |
137-
| no_target_controls | numeric | number of non targeting guides (neg. controls) | 100 |
138-
| FILTER_GUIDES | | | |
139-
| filter_best_per_gene | numeric | max number of guides to return per gene | `10` |
140-
| filter_best_per_tile | numeric | max number of guides to return per ig/tile | `10` |
141-
| filter_score_threshold | numeric | mean score to use as lower limit | `Null` |
142-
| filter_multi_targets | logical | remove guides that perfectly match >1 target | `True` |
143-
| filter_rna | logical | remove guides that target e.g. rRNA or tRNA | `True` |
144-
| gc_content_range | numeric | range of allowed GC content | `[30, 70]` |
145-
| fiveprime_linker | string | optionally add 5' linker to each guide | `Null` |
146-
| threeprime_linker | string | optionally add 3' linker to each guide | `Null` |
147-
| export_as_gff | logical | export result table to `.gff` file | `True` |
148-
| export_as_fasta | logical | export result table to `.fasta` file | `True` |
149-
| REPORT | | | |
150-
| show_examples | numeric | number of genes to show guide position | `10` |
151-
| show_genomic_range | numeric | genome start and end pos to show tiling guides | `[0, 50000]` |
111+
Detailed information about input data and workflow configuration can be found in the [`config/README.md`](config/README.md).
152112

153113
### Target type
154114

@@ -174,7 +134,7 @@ The list of available on-target scores in the [R crisprScore package](https://gi
174134

175135
Another good reason to exclude some scores are the computational resources they require. Particularly deep learning-derived scores are calculated by machine learning models that require both a lot of extra resources in terms of disk space (downloaded and installed _via_ `basilisk` and `conda` environments) and processing power (orders of magnitude longer computation time).
176136

177-
Users can look up all available scores on the [R crisprScore github page](https://github.com/crisprVerse/crisprScore) and decide which ones should be included. In addition, the default behavior of the pipeline is to compute an average score and select the top N guides based on it. The average score is the _weighted mean_ of all single scores and the `score_weights` can be defined in the `config/config.yml` file. If a score should be excluded from the ranking, it's weight can simply be set to zero.
137+
Users can look up all available scores on the [R crisprScore GitHub page](https://github.com/crisprVerse/crisprScore) and decide which ones should be included. In addition, the default behavior of the pipeline is to compute an average score and select the top N guides based on it. The average score is the _weighted mean_ of all single scores and the `score_weights` can be defined in the `config/config.yml` file. If a score should be excluded from the ranking, it's weight can simply be set to zero.
178138

179139
The default scores are:
180140

@@ -238,10 +198,10 @@ The workflow generates the following output from its modules:
238198

239199
## Authors
240200

241-
- The custom `snakemake`, `R`, `R markdown`, and `python` scripts were written by Michael Jahn, PhD
242-
- Affiliation: [Max-Planck-Unit for the Science of Pathogens](https://www.mpusp.mpg.de/) (MPUSP), Berlin, Germany
243-
- Visit the MPUSP github page at https://github.com/MPUSP for info on this workflow and other projects
244-
- Visit the author's github page at https://github.com/m-jahn for info on other projects
201+
- Dr. Michael Jahn
202+
- Affiliation: [Max-Planck-Unit for the Science of Pathogens](https://www.mpusp.mpg.de/) (MPUSP), Berlin, Germany
203+
- ORCID profile: https://orcid.org/0000-0002-3913-153X
204+
- GitHub page: https://github.com/m-jahn
245205

246206
## License
247207

@@ -256,7 +216,7 @@ The code in this repository is published with the [MIT](https://choosealicense.c
256216
## Contributions
257217

258218
- Contributions to this package are welcome!
259-
- Please get in touch on github by [filing a new issue with your suggestion](https://github.com/MPUSP/snakemake-crispr-guides/issues)
219+
- Please get in touch on GitHub by [filing a new issue with your suggestion](https://github.com/MPUSP/snakemake-crispr-guides/issues)
260220
- After initial discussion, you are welcome to submit your pull request
261221

262222
## References

config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The list of available on-target scores in the [R crisprScore package](https://gi
7878

7979
Another good reason to exclude some scores are the computational resources they require. Particularly deep learning-derived scores are calculated by machine learning models that require both a lot of extra resources in terms of disk space (downloaded and installed _via_ `basilisk` and `conda` environments) and processing power (orders of magnitude longer computation time).
8080

81-
Users can look up all available scores on the [R crisprScore github page](https://github.com/crisprVerse/crisprScore) and decide which ones should be included. In addition, the default behavior of the pipeline is to compute an average score and select the top N guides based on it. The average score is the _weighted mean_ of all single scores and the `score_weights` can be defined in the `config/config.yml` file. If a score should be excluded from the ranking, it's weight can simply be set to zero.
81+
Users can look up all available scores on the [R crisprScore GitHub page](https://github.com/crisprVerse/crisprScore) and decide which ones should be included. In addition, the default behavior of the pipeline is to compute an average score and select the top N guides based on it. The average score is the _weighted mean_ of all single scores and the `score_weights` can be defined in the `config/config.yml` file. If a score should be excluded from the ranking, it's weight can simply be set to zero.
8282

8383
The default scores are:
8484

0 commit comments

Comments
 (0)