Mercurial > repos > glogobyte > isoread
changeset 31:23a88a3ec37d draft
Uploaded
author | glogobyte |
---|---|
date | Wed, 20 Oct 2021 16:39:59 +0000 |
parents | d119424f67b6 |
children | 5d232330e81f |
files | mirgene.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mirgene.py Wed Oct 20 16:24:32 2021 +0000 +++ b/mirgene.py Wed Oct 20 16:39:59 2021 +0000 @@ -4,6 +4,7 @@ from multiprocessing import Process, Queue, Lock, Pool, Manager, Value import subprocess import argparse +import sys subprocess.call(['mkdir','-p','split1','split2','split3','split4','Counts','Diff/temp_con','Diff/temp_tre','Diff/n_temp_con','Diff/n_temp_tre']) @@ -206,7 +207,7 @@ # Filters low count mirnas (otpional) if int(args.per)!=-1: - if int(args.per)>0 and float(args.per)<=100 and int(args.count)>0: + if int(args.per)>0 and int(args.per)<=100 and int(args.count)>0: fil_con_group=manager.list() fil_tre_group=manager.list() @@ -382,7 +383,7 @@ # Filters low count mirnas (otpional) if int(args.per)!=-1: - if int(args.per)>0 and float(args.per)<=100 and int(args.count)>0: + if int(args.per)>0 and int(args.per)<=100 and int(args.count)>0: n_fil_con_group=manager.list() n_fil_tre_group=manager.list()