Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
'''
Organization function
-setups logging
-gets inputdata
-calls plotting function
'''
settings, args = utils.get_args()
try:
utils.make_output_dir(args.outdir)
utils.init_logs(args)
args.format = utils.check_valid_format(args.format)
sources = {
"fastq": args.fastq,
"bam": args.bam,
"cram": args.cram,
"summary": args.summary,
"fasta": args.fasta,
"ubam": args.ubam,
}
if args.split_runs:
split_dict = utils.validate_split_runs_file(args.split_runs)
if args.pickle:
from nanoget import combine_dfs