Skip to content

Commit 130fe6a

Browse files
committed
Fixes #31 and #15
1 parent e4a31a1 commit 130fe6a

File tree

8 files changed

+102
-68
lines changed

8 files changed

+102
-68
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Changelog
158158
========= ====================================================================
159159
Version Description
160160
========= ====================================================================
161+
0.18.0 * New plots in the HTML reports. Includes version of executables.
161162
0.17.2 * CHANGES: in star section, added --limitBAMsortRAM and set to 30G
162163
* BUG: Fix missing params (options) in star_mapping rule not taken
163164
into account

environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ channels:
77
- r
88

99
dependencies:
10+
- cutadapt
11+
- atropos
1012
- bowtie
1113
- samtools>1.7
1214
- bamtools

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
sequana>=0.14.2
22
sequana_pipetools>=0.9.2
3+
cutadapt
4+
atropos

sequana_pipelines/rnaseq/config.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# If input_directory provided, use it otherwise if input_pattern provided,
88
# use it, otherwise use input_samples.
99
# ============================================================================
10+
sequana_wrappers: "v0.15.1"
11+
1012
input_directory:
1113
input_readtag: _R[12]_
1214
input_pattern: '*fastq.gz'
@@ -45,14 +47,6 @@ general:
4547
custom_gff: ''
4648

4749

48-
######################
49-
# if files are required for a pipeline and are within sequana or should
50-
# be downloaded before the pipeline provide them in this section
51-
# Note that sequana and url fields are followed by itemised files or links
52-
# using the front dashes
53-
requirements: ''
54-
55-
5650
#################################################################
5751
# FastQC section
5852
#

sequana_pipelines/rnaseq/main.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ def __init__(self, prog=NAME, epilog=None):
6969
"--rRNA-feature",
7070
default="rRNA",
7171
help="""Feature name corresponding to the rRNA to be identified in
72-
the input GFF/GTF files""",
72+
the input GFF/GTF files. Must exist and be valid. If you do not have any,
73+
you may skip this step using --skip-rRNA or provide a fasta file using --contaminant-file""",
74+
)
75+
pipeline_group.add_argument(
76+
"--skip-rRNA",
77+
action="store_true",
78+
help="""skip the mapping on rRNA feature. ignored if --contaminant-file is provided""",
7379
)
7480
pipeline_group.add_argument(
7581
"--contaminant-file",
@@ -208,6 +214,8 @@ def main(args=None):
208214
"You are using a custom FASTA --contaminant_file so --rRNA-feature will be ignored"
209215
)
210216
cfg.general.rRNA_feature = None
217+
elif options.skip_rRNA:
218+
cfg.general.rRNA_feature = None
211219
else:
212220
cfg.general.rRNA_feature = options.rRNA_feature
213221

0 commit comments

Comments
 (0)