comparison qc.py @ 7:6bdec8c62aec draft default tip

"planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/qc commit 58ea5206cf78a4ff48fadedbe4e260c190d6f06e"
author sanbi-uwc
date Mon, 12 Apr 2021 15:53:58 +0000
parents 878f18249f76
children
comparison
equal deleted inserted replaced
6:878f18249f76 7:6bdec8c62aec
158 writer.writeheader() 158 writer.writeheader()
159 writer.writerow(qc_line) 159 writer.writerow(qc_line)
160 160
161 # write a json file from the dict 161 # write a json file from the dict
162 json_file = args.outfile + '.json' 162 json_file = args.outfile + '.json'
163 with open(args.outfile, 'w') as jsonfile: 163 with open(json_file, 'w') as jsonfile:
164 json.dump(qc_line, json_file) 164 json.dump(qc_line, jsonfile)
165 165
166 N_density = sliding_window_N_density(fasta) 166 N_density = sliding_window_N_density(fasta)
167 make_qc_plot(depth_pos, N_density, args.sample) 167 make_qc_plot(depth_pos, N_density, args.sample)
168 168
169 def main(): 169 def main():