Mercurial > repos > public-health-bioinformatics > fastp_json_to_tabular
diff fastp_json_to_tabular.py @ 4:b86961fa4ac4 draft default tip
"planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/tree/master/tools/fastp_json_to_tabular commit 0cedf8014d943912974969f1ed294f6d0ec8f258"
author | public-health-bioinformatics |
---|---|
date | Thu, 10 Mar 2022 19:14:05 +0000 |
parents | e342bf27e717 |
children |
line wrap: on
line diff
--- a/fastp_json_to_tabular.py Thu Mar 10 19:03:59 2022 +0000 +++ b/fastp_json_to_tabular.py Thu Mar 10 19:14:05 2022 +0000 @@ -10,8 +10,8 @@ reads_single_paired = fastp_report['summary']['sequencing'].split(' ')[0] if reads_single_paired == 'paired': - total_read_pairs_before_filtering = str(int(fastp_report['summary']['before_filtering']['total_reads']) / 2) - total_read_pairs_after_filtering = str(int(fastp_report['summary']['after_filtering']['total_reads']) / 2) + total_read_pairs_before_filtering = str(int(int(fastp_report['summary']['before_filtering']['total_reads']) / 2)) + total_read_pairs_after_filtering = str(int(int(fastp_report['summary']['after_filtering']['total_reads']) / 2)) read2_mean_length_before_filtering = fastp_report['summary']['before_filtering']['read2_mean_length'] read2_mean_length_after_filtering = fastp_report['summary']['after_filtering']['read2_mean_length'] else: