Update Cluster_v2.0.py

This commit is contained in:
Godwin Ani 2024-02-05 13:23:10 -05:00 committed by GitHub
parent 59b74bfa5f
commit f6c34517ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,11 +52,11 @@ def main():
os.mkdir(args.output)
if args.type == 'aa':
threshold = input_validation(args.threshold, 'ERROR! Use format 0.## for Amino acids sequence identity threshold.')
threshold = input_validation(args.identity, 'ERROR! Use format 0.## for Amino acids sequence identity threshold.')
overlap = input_validation(args.overlap, 'ERROR! Use format 0.## for Amino acids sequence alignment overlap value.')
cluster_sequences('cd-hit', threshold, overlap, args.input, args.output)
elif args.type == 'dna':
threshold = input_validation(args.threshold, 'ERROR! Use format 0.## for DNA sequence identity threshold.')
threshold = input_validation(args.identity, 'ERROR! Use format 0.## for DNA sequence identity threshold.')
overlap = input_validation(args.overlap, 'ERROR! Use format 0.## for DNA sequence alignment overlap value.')
cluster_sequences('cd-hit-est', threshold, overlap, args.input, args.output)
else: