Skip to content

Commit 9abb77a

Browse files
committed
Update plasmid_function.py
1 parent 713dd3f commit 9abb77a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

falmeida_py/plasmid_function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ def plasmids_stats(bacannot_summary):
8282
bacannot_summary[sample]['plasmid']['plasmidfinder'][contig]['accession'] = row['Accession number']
8383

8484
# mob suite
85-
if os.path.exists(f"{results_dir}/mob_suite/{sample}_mobtyper_results.txt"):
85+
if os.path.exists(f"{results_dir}/plasmids/mob_suite/{sample}_mobtyper_results.txt"):
8686

8787
# init integron_finder annotation dictionary
8888
bacannot_summary[sample]['plasmid']['mob_suite'] = {}
8989

9090
# load integron_finder results
9191
results = pd.read_csv(
92-
f"{results_dir}/mob_suite/{sample}_mobtyper_results.txt",
92+
f"{results_dir}/plasmids/mob_suite/{sample}_mobtyper_results.txt",
9393
sep='\t',
9494
header='infer',
9595
# sample_id num_contigs size gc md5 rep_type(s) rep_type_accession(s) relaxase_type(s) relaxase_type_accession(s) mpf_type mpf_type_accession(s) orit_type(s) orit_accession(s) predicted_mobility mash_nearest_neighbor mash_neighbor_distance mash_neighbor_identification primary_cluster_id secondary_cluster_id predicted_host_range_overall_rank predicted_host_range_overall_name observed_host_range_ncbi_rank observed_host_range_ncbi_name reported_host_range_lit_rank reported_host_range_lit_name associated_pmid(s)

0 commit comments

Comments
 (0)