Skip to content

Commit ec54faf

Browse files
committed
fixing some more tests
1 parent 498569b commit ec54faf

11 files changed

+134
-171
lines changed

src/sequence_processing_pipeline/multiqc-bclconvert-config.yaml

-87
This file was deleted.

tests/data/configuration_profiles/miseq_metatranscriptomic.json

+8-15
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"nprocs": 16,
99
"queue": "qiita",
1010
"wallclock_time_in_minutes": 216,
11-
"modules_to_load": [
12-
"bclconvert_3.7.5"
13-
],
11+
"modules_to_load": ["bclconvert_3.7.5"],
1412
"executable_path": "bcl-convert",
1513
"per_process_memory_limit": "10gb"
1614
},
@@ -19,9 +17,7 @@
1917
"nprocs": 62,
2018
"queue": "qiita",
2119
"wallclock_time_in_minutes": 1022,
22-
"modules_to_load": [
23-
"bcl2fastq_2.20.0.222"
24-
],
20+
"modules_to_load": ["bcl2fastq_2.20.0.222"],
2521
"executable_path": "bcl2fastq",
2622
"per_process_memory_limit": "100gb"
2723
},
@@ -30,12 +26,11 @@
3026
"cpus_per_task": 32,
3127
"queue": "qiita",
3228
"wallclock_time_in_minutes": 2028,
33-
"minimap2_databases": ["/databases/minimap2/db_1.mmi", "/databases/minimap2/db_2.mmi"],
34-
"modules_to_load": [
35-
"fastp_0.20.1",
36-
"samtools_1.12",
37-
"minimap2_2.18"
29+
"minimap2_databases": [
30+
"/databases/minimap2/db_1.mmi",
31+
"/databases/minimap2/db_2.mmi"
3832
],
33+
"modules_to_load": ["fastp_0.20.1", "samtools_1.12", "minimap2_2.18"],
3934
"fastp_executable_path": "fastp",
4035
"minimap2_executable_path": "minimap2",
4136
"samtools_executable_path": "samtools",
@@ -60,12 +55,10 @@
6055
"queue": "qiita",
6156
"nthreads": 62,
6257
"wallclock_time_in_minutes": 220,
63-
"modules_to_load": [
64-
"fastqc_0.11.5"
65-
],
58+
"modules_to_load": ["fastqc_0.11.5"],
6659
"fastqc_executable_path": "fastqc",
6760
"multiqc_executable_path": "multiqc",
68-
"multiqc_config_file_path": "sequence_processing_pipeline/multiqc-bclconvert-config.yaml",
61+
"multiqc_config_file_path": "tests/data/multiqc-bclconvert-config.yaml",
6962
"job_total_memory_limit": "20gb",
7063
"job_pool_size": 120,
7164
"job_max_array_length": 2000

tests/data/configuration_profiles/novaseq_amplicon.json

+7-12
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"nprocs": 64,
99
"queue": "qiita",
1010
"wallclock_time_in_minutes": 1024,
11-
"modules_to_load": [
12-
"bcl2fastq_2.20.0.422"
13-
],
11+
"modules_to_load": ["bcl2fastq_2.20.0.422"],
1412
"executable_path": "bcl2fastq",
1513
"per_process_memory_limit": "100gb"
1614
},
@@ -19,12 +17,11 @@
1917
"cpus_per_task": 32,
2018
"queue": "qiita",
2119
"wallclock_time_in_minutes": 2048,
22-
"minimap2_databases": ["/databases/minimap2/db_1.mmi", "/databases/minimap2/db_2.mmi"],
23-
"modules_to_load": [
24-
"fastp_0.20.1",
25-
"samtools_1.12",
26-
"minimap2_2.18"
20+
"minimap2_databases": [
21+
"/databases/minimap2/db_1.mmi",
22+
"/databases/minimap2/db_2.mmi"
2723
],
24+
"modules_to_load": ["fastp_0.20.1", "samtools_1.12", "minimap2_2.18"],
2825
"fastp_executable_path": "fastp",
2926
"minimap2_executable_path": "minimap2",
3027
"samtools_executable_path": "samtools",
@@ -48,12 +45,10 @@
4845
"queue": "qiita",
4946
"nthreads": 64,
5047
"wallclock_time_in_minutes": 240,
51-
"modules_to_load": [
52-
"fastqc_0.11.5"
53-
],
48+
"modules_to_load": ["fastqc_0.11.5"],
5449
"fastqc_executable_path": "fastqc",
5550
"multiqc_executable_path": "multiqc",
56-
"multiqc_config_file_path": "sequence_processing_pipeline/multiqc-bclconvert-config.yaml",
51+
"multiqc_config_file_path": "tests/data/multiqc-bclconvert-config.yaml",
5752
"job_total_memory_limit": "20gb",
5853
"job_pool_size": 120,
5954
"job_max_array_length": 4000

tests/data/configuration_profiles/novaseq_metagenomic.json

+8-15
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
"nprocs": 16,
2828
"queue": "qiita",
2929
"wallclock_time_in_minutes": 216,
30-
"modules_to_load": [
31-
"bclconvert_3.7.5"
32-
],
30+
"modules_to_load": ["bclconvert_3.7.5"],
3331
"executable_path": "bcl-convert",
3432
"per_process_memory_limit": "10gb"
3533
},
@@ -38,9 +36,7 @@
3836
"nprocs": 64,
3937
"queue": "qiita",
4038
"wallclock_time_in_minutes": 1024,
41-
"modules_to_load": [
42-
"bcl2fastq_2.20.0.422"
43-
],
39+
"modules_to_load": ["bcl2fastq_2.20.0.422"],
4440
"executable_path": "bcl2fastq",
4541
"per_process_memory_limit": "100gb"
4642
},
@@ -49,12 +45,11 @@
4945
"cpus_per_task": 32,
5046
"queue": "qiita",
5147
"wallclock_time_in_minutes": 2048,
52-
"minimap2_databases": ["/databases/minimap2/db_1.mmi", "/databases/minimap2/db_2.mmi"],
53-
"modules_to_load": [
54-
"fastp_0.20.1",
55-
"samtools_1.12",
56-
"minimap2_2.18"
48+
"minimap2_databases": [
49+
"/databases/minimap2/db_1.mmi",
50+
"/databases/minimap2/db_2.mmi"
5751
],
52+
"modules_to_load": ["fastp_0.20.1", "samtools_1.12", "minimap2_2.18"],
5853
"fastp_executable_path": "fastp",
5954
"minimap2_executable_path": "minimap2",
6055
"samtools_executable_path": "samtools",
@@ -78,12 +73,10 @@
7873
"queue": "qiita",
7974
"nthreads": 64,
8075
"wallclock_time_in_minutes": 240,
81-
"modules_to_load": [
82-
"fastqc_0.11.5"
83-
],
76+
"modules_to_load": ["fastqc_0.11.5"],
8477
"fastqc_executable_path": "fastqc",
8578
"multiqc_executable_path": "multiqc",
86-
"multiqc_config_file_path": "sequence_processing_pipeline/multiqc-bclconvert-config.yaml",
79+
"multiqc_config_file_path": "tests/data/multiqc-bclconvert-config.yaml",
8780
"job_total_memory_limit": "20gb",
8881
"job_pool_size": 120,
8982
"job_max_array_length": 4000

tests/data/configuration_profiles/novaseq_metatranscriptomic.json

+10-23
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"nprocs": 16,
99
"queue": "qiita",
1010
"wallclock_time_in_minutes": 216,
11-
"modules_to_load": [
12-
"bcl2fastq_2.20.0.422"
13-
],
11+
"modules_to_load": ["bcl2fastq_2.20.0.422"],
1412
"executable_path": "bcl2fastq",
1513
"per_process_memory_limit": "10gb"
1614
},
@@ -19,9 +17,7 @@
1917
"nprocs": 16,
2018
"queue": "qiita",
2119
"wallclock_time_in_minutes": 216,
22-
"modules_to_load": [
23-
"bclconvert_3.7.5"
24-
],
20+
"modules_to_load": ["bclconvert_3.7.5"],
2521
"executable_path": "bcl-convert",
2622
"per_process_memory_limit": "10gb"
2723
},
@@ -30,15 +26,9 @@
3026
"nprocs": 16,
3127
"queue": "qiita",
3228
"wallclock_time_in_minutes": 60,
33-
"minimap2_databases": [
34-
"/databases/minimap2/human-phix-db.mmi"
35-
],
29+
"minimap2_databases": ["/databases/minimap2/human-phix-db.mmi"],
3630
"kraken2_database": "/databases/minimap2/hp_kraken-db.mmi",
37-
"modules_to_load": [
38-
"fastp_0.20.1",
39-
"samtools_1.12",
40-
"minimap2_2.18"
41-
],
31+
"modules_to_load": ["fastp_0.20.1", "samtools_1.12", "minimap2_2.18"],
4232
"fastp_executable_path": "fastp",
4333
"minimap2_executable_path": "minimap2",
4434
"samtools_executable_path": "samtools",
@@ -51,12 +41,11 @@
5141
"cpus_per_task": 8,
5242
"queue": "qiita",
5343
"wallclock_time_in_minutes": 240,
54-
"minimap2_databases": ["/databases/minimap2/db_1.mmi", "/databases/minimap2/db_2.mmi"],
55-
"modules_to_load": [
56-
"fastp_0.20.1",
57-
"samtools_1.12",
58-
"minimap2_2.18"
44+
"minimap2_databases": [
45+
"/databases/minimap2/db_1.mmi",
46+
"/databases/minimap2/db_2.mmi"
5947
],
48+
"modules_to_load": ["fastp_0.20.1", "samtools_1.12", "minimap2_2.18"],
6049
"fastp_executable_path": "fastp",
6150
"minimap2_executable_path": "minimap2",
6251
"samtools_executable_path": "samtools",
@@ -80,12 +69,10 @@
8069
"queue": "qiita",
8170
"nthreads": 16,
8271
"wallclock_time_in_minutes": 60,
83-
"modules_to_load": [
84-
"fastqc_0.11.5"
85-
],
72+
"modules_to_load": ["fastqc_0.11.5"],
8673
"fastqc_executable_path": "fastqc",
8774
"multiqc_executable_path": "multiqc",
88-
"multiqc_config_file_path": "sequence_processing_pipeline/multiqc-bclconvert-config.yaml",
75+
"multiqc_config_file_path": "tests/data/multiqc-bclconvert-config.yaml",
8976
"job_total_memory_limit": "20gb",
9077
"job_pool_size": 30,
9178
"job_max_array_length": 1000
+87-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,87 @@
1-
This is a file.
1+
title: "Sequence processing summaries"
2+
output_fn_name: "index.html"
3+
show_analysis_paths: False
4+
show_analysis_time: False
5+
6+
run_modules:
7+
- bclconvert
8+
- fastqc
9+
- fastp
10+
11+
# including BLANKs in reports is now default operation for the pipeline
12+
sample_names_ignore:
13+
# - "blank*"
14+
# - "BLANK*"
15+
16+
# This can optionally be set to True. When version-checking is enabled,
17+
# a message will appear in stdout as well as in the log-file. If these are not
18+
# reviewed then the effort will be wasted. Note FastQCJob calls multiqc
19+
# multiple times, once for each project specified in the sample-sheet.
20+
no_version_check: False
21+
22+
# How to plot graphs. Different templates can override these settings, but
23+
# the default template can use interactive plots (Javascript using HighCharts)
24+
# or flat plots (images, using MatPlotLib). With interactive plots, the report
25+
# can prevent automatically rendering all graphs if there are lots of samples
26+
# to prevent the browser being locked up when the report opens.
27+
28+
# Try to use only interactive javascript graphs
29+
plots_force_interactive: True
30+
# If interactive, don't plot on load if > this number of datasets
31+
num_datasets_plot_limit: 1
32+
# Swap tables for a beeswarm plot above this
33+
max_table_rows: 10000
34+
35+
# Overwrite the defaults of which table columns are visible by default
36+
table_columns_visible:
37+
# "Base Calling": False # total: True
38+
"Sequence Quality (bclconvert raw)":
39+
percent_fails: False
40+
percent_duplicates: False
41+
percent_gc: False
42+
avg_sequence_length: True
43+
total_sequences: True
44+
Trimming:
45+
# R1 and R2 being stored in the same file
46+
input_format: False
47+
avg_sequence_length: False
48+
total_record_count: False
49+
mean_sequence_length: False
50+
fraction_bp_trimmed: False
51+
fraction_records_with_adapters: False
52+
"Sequence Quality (trimmed)":
53+
percent_fails: False
54+
percent_duplicates: False
55+
percent_gc: False
56+
avg_sequence_length: True
57+
total_sequences: True
58+
"Human Filtering":
59+
overall_alignment_rate: True
60+
"Sequence Quality (filtered)":
61+
percent_fails: False
62+
percent_duplicates: False
63+
percent_gc: False
64+
avg_sequence_length: True
65+
total_sequences: True
66+
67+
module_order:
68+
- bclconvert:
69+
name: 'Base Calling'
70+
# TODO: make sure we can split Stats.json files on a per-project basis
71+
info: 'Conversion from BCL files to FASTQ files. Note this section currently includes samples generated in other projects, this is a known bug that will be addressed in the near future. '
72+
- fastqc:
73+
name: 'Sequence Quality (raw)'
74+
info: 'Sequence quality and summary statistics for raw sequences.'
75+
path_filters:
76+
- '*fastqc.zip'
77+
- '*.csv'
78+
- fastp:
79+
name: 'Sequence Quality (adapter trimmed)'
80+
info: 'Summary statistics from adapter trimming and quality control with fastp.'
81+
fn: '*.json'
82+
- fastqc:
83+
name: 'Sequence Quality (trimmed)'
84+
info: 'Sequence quality and summary statistics after quality-control and adapter trimming.'
85+
path_filters:
86+
- '*trimmed_fastqc.zip'
87+
- '*fastp_fastqc.zip'

0 commit comments

Comments
 (0)