You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/cidder
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,22 @@ def cidder_main():
277
277
gf_listing_handle.write(renamed_gfile+'\n')
278
278
gf_listing_handle.close()
279
279
280
+
ifos.path.isfile(all_genomes_listing_file):
281
+
total_gtdb_genome_count=0
282
+
withopen(genbank_accession_listing_file) asogalf:
283
+
forlineinogalf:
284
+
line=line.strip()
285
+
total_gtdb_genome_count+=1
286
+
287
+
genome_count=0
288
+
withopen(all_genomes_listing_file) asoaglf:
289
+
forlineinoaglf:
290
+
line=line.strip()
291
+
genome_count+=1
292
+
293
+
msg='Was able to download %s of %s genomes belonging to taxa "%s" in GTDB %s.'% (str(genome_count), str(total_gtdb_genome_count), taxa_name, gtdb_release)
msg='Requirements met! Protein cluster saturation of representative genomes is: %0.2f%%\nMulti-genome protein cluster saturation of representative genomes is %0.2f%%'% (curr_saturation, curr_multigenome_saturation)
Copy file name to clipboardExpand all lines: bin/skder
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -287,6 +287,23 @@ def skder_main():
287
287
gf_listing_handle.write(renamed_gfile+'\n')
288
288
gf_listing_handle.close()
289
289
290
+
ifos.path.isfile(all_genomes_listing_file):
291
+
total_gtdb_genome_count=0
292
+
withopen(genbank_accession_listing_file) asogalf:
293
+
forlineinogalf:
294
+
line=line.strip()
295
+
total_gtdb_genome_count+=1
296
+
297
+
genome_count=0
298
+
withopen(all_genomes_listing_file) asoaglf:
299
+
forlineinoaglf:
300
+
line=line.strip()
301
+
genome_count+=1
302
+
303
+
msg='Was able to download %s of %s genomes belonging to taxa "%s" in GTDB %s.'% (str(genome_count), str(total_gtdb_genome_count), taxa_name, gtdb_release)
0 commit comments