Skip to content

Commit 959e0a0

Browse files
committed
deactivate fas config output
1 parent 5ccf824 commit 959e0a0

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

fdog/libs/addtaxon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def create_genome(args):
103103
### load fasta seq
104104
in_seq = SeqIO.to_dict((SeqIO.parse(open(faIn), 'fasta')))
105105
if not os.path.exists(genome_path):
106-
Path(genome_path).mkdir(parents = True, exist_ok = True)
106+
Path(genome_path).mkdir(parents = True, exist_ok = True)
107107
genome_file = '%s/%s.fa' % (genome_path, spec_name)
108108
if (not os.path.exists(os.path.abspath(genome_file))) or (os.stat(genome_file).st_size == 0) or force:
109109
f = open(genome_file, 'w')

fdog/libs/fas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def calc_pairwise_fas(seed_json, query_json, seqName, hmmpath):
7878
general_fn.check_file_exist(seed_json)
7979
general_fn.check_file_exist(query_json)
8080

81-
fas_cmd = 'fas.run -s %s -q %s' % (seed_json, query_json)
81+
fas_cmd = 'fas.run -s %s -q %s --no_config' % (seed_json, query_json)
8282
fas_cmd = '%s -a %s/%s --raw --tsv --domain --cpus 1 -o %s/%s' \
8383
% (fas_cmd, hmmpath, seqName, hmmpath, seqName)
8484
try:

fdog/libs/preparation.py

-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ def identify_seed_id(seqFile, refspec, corepath, debug, silentOff):
192192
sys.exit()
193193
for hit in blast_out['hits']:
194194
if blast_out['hits'][hit]['align_len'] == blast_out['query_len']:
195-
print("BEST BLAST HIT")
196195
return(hit)
197196
elif abs(int(blast_out['hits'][hit]['align_len']) - int(blast_out['query_len'])) < 10:
198197
output_fn.print_stdout(silentOff, 'WARNING: Found seed sequence shorter/longer than input!')

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="fdog",
29-
version="0.1.23",
29+
version="0.1.24",
3030
python_requires='>=3.7.0',
3131
description="Feature-aware Directed OrtholoG search tool",
3232
long_description=long_description,

0 commit comments

Comments
 (0)