Skip to content

Commit

Permalink
Merge pull request #8 from cokelaer/main
Browse files Browse the repository at this point in the history
Use sequana_wrappers from the config file
  • Loading branch information
cokelaer authored Aug 3, 2023
2 parents c29b4fe + f6b6181 commit b4df36e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Changelog
========= ====================================================================
Version Description
========= ====================================================================
1.0.1 * add sequana_wrappers in the config/pipeline
1.0.0 * use graphviz apptainer and latest wrappers
0.13.0 * add final apptainers and update CI actions
0.12.0 * set singularity containers
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sequana>=0.14.1
sequana_pipetools>=0.9.2
sequana_pipetools>=0.12.5
1 change: 1 addition & 0 deletions sequana_pipelines/ribofinder/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# If input_directory provided, use it otherwise if input_pattern provided,
# use it, otherwise use input_samples.
# ============================================================================
sequana_wrappers: "v0.15.1"
input_directory:
input_readtag: _R[12]_
input_pattern: '*fastq.gz'
Expand Down
13 changes: 5 additions & 8 deletions sequana_pipelines/ribofinder/ribofinder.rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ from collections import Counter


from sequana_pipetools import PipelineManager
from sequana_pipetools import snaketools as sm
from sequana import logger as log

from sequana.gff3 import GFF3
from sequana import logger as log

configfile: "config.yaml"

manager = PipelineManager("ribofinder", config)
sequana_wrapper_branch = "main"


rule pipeline:
Expand Down Expand Up @@ -135,7 +132,7 @@ rule bowtie1_indexing:
container:
config['apptainers']['sequana_ribofinder']
wrapper:
f"{sequana_wrapper_branch}/wrappers/bowtie1/build"
f"{manager.wrappers}/wrappers/bowtie1/build"



Expand Down Expand Up @@ -177,7 +174,7 @@ rule bowtie1_mapping_rna:
container:
config['apptainers']['sequana_ribofinder']
wrapper:
f"{sequana_wrapper_branch}/wrappers/bowtie1/align"
f"{manager.wrappers}/wrappers/bowtie1/align"


# ======================================================== Fix bowtie log
Expand Down Expand Up @@ -292,7 +289,7 @@ rule multiqc:
log:
"multiqc/multiqc.log"
wrapper:
f"{sequana_wrapper_branch}/wrappers/multiqc"
f"{manager.wrappers}/wrappers/multiqc"


# ========================================================== rulegraph
Expand All @@ -304,7 +301,7 @@ rule rulegraph:
mapper = {"multiqc": "../multiqc/multiqc_report.html"},
configname = "config.yaml"
wrapper:
f"{sequana_wrapper_branch}/wrappers/rulegraph"
f"{manager.wrappers}/wrappers/rulegraph"


rule dot2svg:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

_MAJOR = 1
_MINOR = 0
_MICRO = 0
_MICRO = 1
version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release = '%d.%d' % (_MAJOR, _MINOR)

Expand Down

0 comments on commit b4df36e

Please sign in to comment.