rdrpcatch 0.0.4__py3-none-any.whl → 0.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ class hmmsearch_formatter:
68
68
  # Check if the dataframe is empty
69
69
  if data_df.is_empty():
70
70
  title_line= ['Contig_name', 'Translated_contig_name (frame)', 'Sequence_length(AA)', 'Profile_name',
71
- 'Profile_length', 'E-value', 'score', 'acc', 'norm_bitscore_profile',
71
+ 'Profile_length', 'E-value', 'score','norm_bitscore_profile',
72
72
  'norm_bitscore_contig', 'ID_score', 'RdRp_from(AA)', 'RdRp_to(AA)', 'profile_coverage',
73
73
  'contig_coverage']
74
74
  data_df = pl.DataFrame({col: [] for col in title_line})
@@ -111,7 +111,7 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
111
111
  if not os.path.exists(outputs.output_dir):
112
112
  os.makedirs(outputs.output_dir)
113
113
  else:
114
- raise FileExistsError(f"Output directory already exists: {outputs.output_dir}, please choose a different directory.")
114
+ raise FileExistsError(f"Output directory already exists: {outputs.output_dir}, Please choose a different directory.")
115
115
  if not os.path.exists(outputs.log_dir):
116
116
  os.makedirs(outputs.log_dir)
117
117
 
@@ -363,7 +363,7 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
363
363
 
364
364
 
365
365
  # Combine all the dataframes in the list
366
- combined_df = pl.concat(df_list, how='vertical')
366
+ combined_df = pl.concat(df_list, how='vertical_relaxed')
367
367
  # Write the combined dataframe to a tsv file
368
368
  for col in ['E-value', 'score', 'norm_bitscore_profile', 'norm_bitscore_contig',
369
369
  'ID_score', 'profile_coverage', 'contig_coverage']:
@@ -526,9 +526,8 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
526
526
  outputs.tsv_outdir.mkdir(parents=True)
527
527
 
528
528
 
529
-
530
529
  # Combine all the dataframes in the list
531
- combined_df = pl.concat(df_list, how='vertical')
530
+ combined_df = pl.concat(df_list, how='vertical_relaxed')
532
531
  # Write the combined dataframe to a tsv file
533
532
  for col in ['E-value', 'score', 'norm_bitscore_profile', 'norm_bitscore_contig',
534
533
  'ID_score', 'profile_coverage', 'contig_coverage']:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rdrpcatch
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Dynamic: Summary
5
5
  Project-URL: Home, https://github.com/dimitris-karapliafis/RdRpCATCH
6
6
  Project-URL: Source, https://github.com/dimitris-karapliafis/RdRpCATCH
@@ -81,7 +81,7 @@ The dependencies can be installed using conda or mamba. Follow these steps:
81
81
 
82
82
  Create a new conda environment and install the dependencies:
83
83
  ```bash
84
- conda create -n rdrpcatch python=3.12
84
+ conda env create -n rdrpcatch python=3.12
85
85
  conda activate rdrpcatch
86
86
  conda install -c bioconda mmseqs2==17.b804f seqkit==2.10.0
87
87
  ```
@@ -1,10 +1,10 @@
1
1
  rdrpcatch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- rdrpcatch/rdrpcatch_wrapper.py,sha256=PUMzQ3tIU0VuBY6XrRXupo-NruszwHreyxWXzEARjM4,30550
2
+ rdrpcatch/rdrpcatch_wrapper.py,sha256=bZ5w4NuTlCSUsCx9baEtJSk7jGiyp-6XthO80IKaMXI,30564
3
3
  rdrpcatch/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  rdrpcatch/cli/args.py,sha256=2E2gXY42hNasUP94HmPxpgVCA1glk_oN7D5ftbu6W2c,15805
5
5
  rdrpcatch/rdrpcatch_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  rdrpcatch/rdrpcatch_scripts/fetch_dbs.py,sha256=e9ShColfLgBvWSZpGOvY3zKhEgIg3rw1IIV__KX7N-g,11054
7
- rdrpcatch/rdrpcatch_scripts/format_pyhmmer_out.py,sha256=uah2XPrGNkkeptCv_WWBz_qTn5AtDTfVm6XjbCmNO00,25033
7
+ rdrpcatch/rdrpcatch_scripts/format_pyhmmer_out.py,sha256=2_ERXFQK2lpVReWl0jwQdnKIObv_zq07uFJOzGsTHlo,25025
8
8
  rdrpcatch/rdrpcatch_scripts/gui.py,sha256=he8kx_4VJWB7SVv9XSQPk0DmkOjEFIg-uGMAtDp3t-w,10576
9
9
  rdrpcatch/rdrpcatch_scripts/mmseqs_tax.py,sha256=bwzuCxu8nHQ5OC0Yr5Lyvhcyk9OWjuamInqe0T0lc38,3809
10
10
  rdrpcatch/rdrpcatch_scripts/paths.py,sha256=roTZ2QPF4Fii7jtHkS9I6INJg1Vu78Dc_ieQGKjOCP4,4710
@@ -12,8 +12,8 @@ rdrpcatch/rdrpcatch_scripts/plot.py,sha256=Y1mZL7rkKHFKEs2D7T2Qj2kpfiORmFwRLq1LY
12
12
  rdrpcatch/rdrpcatch_scripts/run_pyhmmer.py,sha256=9zcMzaIwQ4_-NgYzG9kejxOBaDi-gbzaqpvZti8ZXA4,9008
13
13
  rdrpcatch/rdrpcatch_scripts/run_seqkit.py,sha256=5y7DtJ6NLa4sRoBQOcjBfczKlqG_LibNrEqNmKLrHu0,4361
14
14
  rdrpcatch/rdrpcatch_scripts/utils.py,sha256=jvpyPxchAMn6BeLV7HOFECSY_a3nbkxDBBL8tunmM8A,16938
15
- rdrpcatch-0.0.4.dist-info/METADATA,sha256=rhb3kvfpy5zj9dUgIB1MbRfv9NNPZeQlOS1YDB7ZkrA,14000
16
- rdrpcatch-0.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- rdrpcatch-0.0.4.dist-info/entry_points.txt,sha256=uiyoPO41jNz_KVOt2JdPak9NbVei-D8WQ6saMeMBFpE,53
18
- rdrpcatch-0.0.4.dist-info/licenses/LICENSE,sha256=3jm5vKRMIaiETEFfNN34-oyWUShxZtmDmL38PNAwlUI,1120
19
- rdrpcatch-0.0.4.dist-info/RECORD,,
15
+ rdrpcatch-0.0.5.dist-info/METADATA,sha256=X3wolDh_nUrk7caPG4jFMvsF7FHZCvYuGzjPLZnC4VA,14004
16
+ rdrpcatch-0.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ rdrpcatch-0.0.5.dist-info/entry_points.txt,sha256=uiyoPO41jNz_KVOt2JdPak9NbVei-D8WQ6saMeMBFpE,53
18
+ rdrpcatch-0.0.5.dist-info/licenses/LICENSE,sha256=3jm5vKRMIaiETEFfNN34-oyWUShxZtmDmL38PNAwlUI,1120
19
+ rdrpcatch-0.0.5.dist-info/RECORD,,