mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 05:40:26 +08:00
Update Cluster_v2.0.py
This commit is contained in:
parent
59b74bfa5f
commit
f6c34517ae
@ -52,11 +52,11 @@ def main():
|
|||||||
os.mkdir(args.output)
|
os.mkdir(args.output)
|
||||||
|
|
||||||
if args.type == 'aa':
|
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.')
|
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)
|
cluster_sequences('cd-hit', threshold, overlap, args.input, args.output)
|
||||||
elif args.type == 'dna':
|
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.')
|
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)
|
cluster_sequences('cd-hit-est', threshold, overlap, args.input, args.output)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user