Skip to content

Commit 6373996

Browse files
committed
fix a bug for FastQC analysis_tools
1 parent 1e85cce commit 6373996

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

payload-gen-rna-alignment/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def get_files_info(file_to_upload, date_str, seq_experiment_analysis_dict, align
211211
}
212212

213213
if not aligner:
214-
file_info['info']['analysis_tools'] = "FastQC"
214+
file_info['info']['analysis_tools'] = ["FastQC"]
215215
elif aligner.lower() == 'star':
216216
file_info['info']['analysis_tools'] = data_type_mapping[file_type][3]
217217
elif aligner.lower() == 'hisat2':

payload-gen-rna-alignment/tests/expected/expected.test-job-3.out.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"workflow_version": "0.1.0",
99
"genome_build": "GRCh38_hla_decoy_ebv",
1010
"genome_annotation": "GENCODE v38",
11-
"run_id": "sick_hilbert",
12-
"session_id": "575a320a-f228-48d7-a311-b8a314d66e6b",
11+
"run_id": "lonely_thompson",
12+
"session_id": "6fb88d81-ad07-4c1b-bcfa-51e133e836fe",
1313
"inputs": [
1414
{
1515
"analysis_type": "sequencing_experiment",
@@ -27,7 +27,9 @@
2727
"data_subtypes": [
2828
"Read Group Metrics"
2929
],
30-
"analysis_tools": "FastQC",
30+
"analysis_tools": [
31+
"FastQC"
32+
],
3133
"files_in_tgz": [
3234
"TEST-PRO.DO001.SA001.S01L1.e9ea873df5dffc992be7cd3f8c6ee564.lane_fastqc.html",
3335
"TEST-PRO.DO001.SA001.S01L1.e9ea873df5dffc992be7cd3f8c6ee564.lane_fastqc.zip"
@@ -47,7 +49,7 @@
4749
},
4850
"description": "High level sequencing reads QC metrics generated by FastQC."
4951
},
50-
"fileName": "TEST-PRO.DO001.SA001.rna-seq.20211207.S01L1.fastqc.tgz",
52+
"fileName": "TEST-PRO.DO001.SA001.rna-seq.20220321.S01L1.fastqc.tgz",
5153
"fileType": "TGZ",
5254
"dataType": "Sequencing QC"
5355
}

0 commit comments

Comments
 (0)