rdrpcatch 0.0.1.post1__tar.gz → 0.0.3__tar.gz

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.
Files changed (87) hide show
  1. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/PKG-INFO +8 -7
  2. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/README.md +7 -6
  3. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/meta.yaml +17 -20
  4. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/pyproject.toml +1 -1
  5. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/format_pyhmmer_out.py +2 -3
  6. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/paths.py +1 -1
  7. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_wrapper.py +6 -6
  8. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.gitignore +0 -0
  9. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/.gitignore +0 -0
  10. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/.name +0 -0
  11. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/ColaB-Scan.iml +0 -0
  12. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  13. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/misc.xml +0 -0
  14. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/modules.xml +0 -0
  15. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/vcs.xml +0 -0
  16. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/.idea/workspace.xml +0 -0
  17. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/LICENSE +0 -0
  18. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/dependencies/rdrpcatch_test_env.yaml +0 -0
  19. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/dependencies/requirements.txt +0 -0
  20. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/images/rdrpcatch_flowchart_v0.png +0 -0
  21. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/__init__.py +0 -0
  22. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/cli/__init__.py +0 -0
  23. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/cli/args.py +0 -0
  24. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/__init__.py +0 -0
  25. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/fetch_dbs.py +0 -0
  26. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/gui.py +0 -0
  27. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/mmseqs_tax.py +0 -0
  28. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/plot.py +0 -0
  29. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/run_pyhmmer.py +0 -0
  30. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/run_seqkit.py +0 -0
  31. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/rdrpcatch/rdrpcatch_scripts/utils.py +0 -0
  32. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/meta_4test.yaml +0 -0
  33. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch-1.0.0-py312_2.tar.bz2 +0 -0
  34. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_env.yaml +0 -0
  35. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_gff_files/test_translate_full_aminoacid_rdrpcatch.gff3 +0 -0
  36. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_fasta/test_translate_full_aminoacid_contigs.fasta +0 -0
  37. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_fasta/test_translate_trimmed_aminoacid_contigs.fasta +0 -0
  38. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_output_annotated.tsv +0 -0
  39. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_ID_score_plot.html +0 -0
  40. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_contig_coverage_plot.html +0 -0
  41. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_evalue_plot.html +0 -0
  42. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_norm_bitscore_contig_plot.html +0 -0
  43. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_norm_bitscore_plot_profile.html +0 -0
  44. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_profile_coverage_plot.html +0 -0
  45. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_score_plot.html +0 -0
  46. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_upset_plot.png +0 -0
  47. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_Lucaprot_hmm_output_best_hit.txt +0 -0
  48. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_NeoRdRp.2.1_hmm_output_best_hit.txt +0 -0
  49. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_NeoRdRp_hmm_output_best_hit.txt +0 -0
  50. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_RDRP-scan_hmm_output_best_hit.txt +0 -0
  51. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_RVMT_hmm_output_best_hit.txt +0 -0
  52. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_TSA_Olendraite_fam_hmm_output_best_hit.txt +0 -0
  53. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_TSA_Olendraite_gen_hmm_output_best_hit.txt +0 -0
  54. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_Lucaprot_hmm_output_formatted.txt +0 -0
  55. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_NeoRdRp.2.1_hmm_output_formatted.txt +0 -0
  56. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_NeoRdRp_hmm_output_formatted.txt +0 -0
  57. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_RDRP-scan_hmm_output_formatted.txt +0 -0
  58. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_RVMT_hmm_output_formatted.txt +0 -0
  59. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_TSA_Olendraite_fam_hmm_output_formatted.txt +0 -0
  60. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_TSA_Olendraite_gen_hmm_output_formatted.txt +0 -0
  61. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_Lucaprot_hmmsearch_output.custom.tsv +0 -0
  62. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_Lucaprot_hmmsearch_output.txt +0 -0
  63. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp.2.1_hmmsearch_output.custom.tsv +0 -0
  64. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp.2.1_hmmsearch_output.txt +0 -0
  65. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp_hmmsearch_output.custom.tsv +0 -0
  66. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp_hmmsearch_output.txt +0 -0
  67. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RDRP-scan_hmmsearch_output.custom.tsv +0 -0
  68. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RDRP-scan_hmmsearch_output.txt +0 -0
  69. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RVMT_hmmsearch_output.custom.tsv +0 -0
  70. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RVMT_hmmsearch_output.txt +0 -0
  71. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_fam_hmmsearch_output.custom.tsv +0 -0
  72. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_fam_hmmsearch_output.txt +0 -0
  73. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_gen_hmmsearch_output.custom.tsv +0 -0
  74. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_gen_hmmsearch_output.txt +0 -0
  75. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_e_search_output/test_translate_mmseqs_e_search.tsv +0 -0
  76. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_lca.tsv +0 -0
  77. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_report +0 -0
  78. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_tophit_aln +0 -0
  79. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_tophit_report +0 -0
  80. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/tmp/16608414482057878997/easy-taxonomy.sh +0 -0
  81. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_mmseqs_e_search.log +0 -0
  82. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_mmseqs_tax.log +0 -0
  83. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_rdrpcatch.log +0 -0
  84. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_combined.tsv +0 -0
  85. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_rdrpcatch_output.tsv +0 -0
  86. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_upset_data.tsv +0 -0
  87. {rdrpcatch-0.0.1.post1 → rdrpcatch-0.0.3}/testing/test_translate.fasta +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rdrpcatch
3
- Version: 0.0.1.post1
3
+ Version: 0.0.3
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
@@ -38,7 +38,7 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
38
38
 
39
39
  ![rdrpcatch_flowchart_v0.png](images%2Frdrpcatch_flowchart_v0.png)
40
40
 
41
- Supported databases
41
+ ### Supported databases
42
42
  - NeoRdRp <sup>1</sup> : 1182 pHMMs
43
43
  - NeoRdRp2 <sup>2</sup>: 19394 pHMMs
44
44
  - RVMT <sup>3</sup>: 710 pHMMs
@@ -83,7 +83,7 @@ Create a new conda environment and install the dependencies:
83
83
  ```bash
84
84
  conda create -n rdrpcatch python=3.12
85
85
  conda activate rdrpcatch
86
- conda install -c bioconda mmseqs2==17.17.b804f seqkit==2.10.0
86
+ conda install -c bioconda mmseqs2==17.b804f seqkit==2.10.0
87
87
  ```
88
88
  Install the tool from pip:
89
89
  ```bash
@@ -98,7 +98,8 @@ rdrpcatch download --destination_dir path/to/store/databases
98
98
  ```
99
99
 
100
100
  * Note 1: The databases are large files and may take some time to download (~ 3 GB).
101
- * Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
101
+ * Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
102
+ * Note 3: If you encounter an SSL error while downloading, please try again. The error seems to appear sporadically during testing, and a simple re-initiation of the downloading process seems to fix it.
102
103
 
103
104
  ## Usage
104
105
  RdRpCATCH can be used as a CLI tool as follows:
@@ -163,7 +164,7 @@ rdrpcatch scan will create a folder with the following structure:
163
164
  | `{prefix}_rdrpcatch_fasta` | A directory containing the sequences that were identified as RdRp sequences. |
164
165
  | `{prefix}_rdrpcatch_plots` | A directory containing the plots generated during the analysis. |
165
166
  | `{prefix}_gff_files` | A directory containing the GFF files generated during the analysis. (For now only based on protein sequences) |
166
- | `tmp` | A directory containing temporary files generated during the analysis. (Only available if the -keep_tmp flag is used |
167
+ | `tmp` | A directory containing temporary files generated during the analysis. (Only available if the -keep_tmp flag is used )|
167
168
 
168
169
  #### Output table fields
169
170
  A summary of the results is stored in the `{prefix}_rdrpcatch_output_annotated.tsv` file, which contains the following fields:
@@ -194,10 +195,10 @@ A summary of the results is stored in the `{prefix}_rdrpcatch_output_annotated.t
194
195
  ## Citations
195
196
  Manuscript still in preparation. If you use RdRpCATCH, please cite this GitHub repository
196
197
  A precompiled version of the used databases is available at Zenodo DOI: [10.5281/zenodo.14358348](https://doi.org/10.5281/zenodo.14358348).
197
- If you use RdRpCATCH, please cite the following third party databases:
198
+ If you use RdRpCATCH, please cite the [underlying third party databases](#supported-databases) :
198
199
 
199
200
  ## Acknowledgements
200
- RdRpCATCH is a collaborative effort and we would like to thank all the authors and developers of the underling databases.
201
+ RdRpCATCH is a collaborative effort and we would like to thank all the authors and developers of the underlying databases.
201
202
 
202
203
  ## Contact
203
204
  Dimitris Karapliafis (dimitris.karapliafis@wur.nl), potentially via slack/teams or an issue in the main repo.
@@ -16,7 +16,7 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
16
16
 
17
17
  ![rdrpcatch_flowchart_v0.png](images%2Frdrpcatch_flowchart_v0.png)
18
18
 
19
- Supported databases
19
+ ### Supported databases
20
20
  - NeoRdRp <sup>1</sup> : 1182 pHMMs
21
21
  - NeoRdRp2 <sup>2</sup>: 19394 pHMMs
22
22
  - RVMT <sup>3</sup>: 710 pHMMs
@@ -61,7 +61,7 @@ Create a new conda environment and install the dependencies:
61
61
  ```bash
62
62
  conda create -n rdrpcatch python=3.12
63
63
  conda activate rdrpcatch
64
- conda install -c bioconda mmseqs2==17.17.b804f seqkit==2.10.0
64
+ conda install -c bioconda mmseqs2==17.b804f seqkit==2.10.0
65
65
  ```
66
66
  Install the tool from pip:
67
67
  ```bash
@@ -76,7 +76,8 @@ rdrpcatch download --destination_dir path/to/store/databases
76
76
  ```
77
77
 
78
78
  * Note 1: The databases are large files and may take some time to download (~ 3 GB).
79
- * Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
79
+ * Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
80
+ * Note 3: If you encounter an SSL error while downloading, please try again. The error seems to appear sporadically during testing, and a simple re-initiation of the downloading process seems to fix it.
80
81
 
81
82
  ## Usage
82
83
  RdRpCATCH can be used as a CLI tool as follows:
@@ -141,7 +142,7 @@ rdrpcatch scan will create a folder with the following structure:
141
142
  | `{prefix}_rdrpcatch_fasta` | A directory containing the sequences that were identified as RdRp sequences. |
142
143
  | `{prefix}_rdrpcatch_plots` | A directory containing the plots generated during the analysis. |
143
144
  | `{prefix}_gff_files` | A directory containing the GFF files generated during the analysis. (For now only based on protein sequences) |
144
- | `tmp` | A directory containing temporary files generated during the analysis. (Only available if the -keep_tmp flag is used |
145
+ | `tmp` | A directory containing temporary files generated during the analysis. (Only available if the -keep_tmp flag is used )|
145
146
 
146
147
  #### Output table fields
147
148
  A summary of the results is stored in the `{prefix}_rdrpcatch_output_annotated.tsv` file, which contains the following fields:
@@ -172,10 +173,10 @@ A summary of the results is stored in the `{prefix}_rdrpcatch_output_annotated.t
172
173
  ## Citations
173
174
  Manuscript still in preparation. If you use RdRpCATCH, please cite this GitHub repository
174
175
  A precompiled version of the used databases is available at Zenodo DOI: [10.5281/zenodo.14358348](https://doi.org/10.5281/zenodo.14358348).
175
- If you use RdRpCATCH, please cite the following third party databases:
176
+ If you use RdRpCATCH, please cite the [underlying third party databases](#supported-databases) :
176
177
 
177
178
  ## Acknowledgements
178
- RdRpCATCH is a collaborative effort and we would like to thank all the authors and developers of the underling databases.
179
+ RdRpCATCH is a collaborative effort and we would like to thank all the authors and developers of the underlying databases.
179
180
 
180
181
  ## Contact
181
182
  Dimitris Karapliafis (dimitris.karapliafis@wur.nl), potentially via slack/teams or an issue in the main repo.
@@ -1,23 +1,21 @@
1
- {% set name = "rdrpcatch" %}
2
- {% set version = "0.0.1" %}
1
+ {% set name = "RdRpCATCH" %}
2
+ {% set version = "0.0.2" %}
3
+ {% set sha256 = "6454b1a6f98e461ca82d181b1595e5f06448786540b6daa2c4de31c38b255412" %}
3
4
 
4
5
  package:
5
6
  name: {{ name|lower }}
6
7
  version: {{ version }}
7
8
 
8
9
  source:
9
- url: https://github.com/dimitris-karapliafis/RdRpCATCH/archive/refs/tags/v{{ version }}.tar.gz
10
- sha256: 6454b1a6f98e461ca82d181b1595e5f06448786540b6daa2c4de31c38b255412
10
+ url: https://github.com/dimitris-karapliafis/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
11
+ sha256: {{ sha256 }}
11
12
 
12
13
  build:
13
14
  number: 0
14
15
  noarch: python
15
16
  script: {{ PYTHON }} -m pip install . -vv
16
17
  run_exports:
17
- - {{ pin_compatible('matplotlib-base', max_pin='x.x') }}
18
- - {{ pin_compatible('pyhmmer', max_pin='x.x') }}
19
- - {{ pin_compatible('polars', max_pin='x.x') }}
20
- - {{ pin_compatible('altair', max_pin='x.x.x') }}
18
+ - {{ pin_compatible('rdrpcatch', max_pin='x.x.x') }}
21
19
  entry_points:
22
20
  - rdrpcatch = rdrpcatch.cli.args:cli
23
21
 
@@ -28,18 +26,17 @@ requirements:
28
26
  - pip
29
27
  run:
30
28
  - python >=3.12
31
- - mmseqs2 ==17.b804f
32
- - seqkit ==2.10.0
33
- - pyhmmer ==0.11.0
34
- - needletail ==0.6.3
35
- - polars ==1.26.0
36
- - rich ==13.9.4
37
- - rich-click ==1.8.8
38
- - upsetplot ==0.9.0
39
- - matplotlib-base ==3.10.1
40
- - altair ==5.5.0
41
- - requests ==2.32.3
42
-
29
+ - mmseqs2 =17.b804f
30
+ - seqkit =2.10.0
31
+ - pyhmmer =0.11.0
32
+ - needletail =0.6.3
33
+ - polars =1.26.0
34
+ - rich =13.9.4
35
+ - rich-click =1.8.8
36
+ - upsetplot =0.9.0
37
+ - matplotlib-base =3.10.1
38
+ - altair =5.5.0
39
+ - requests =2.32.3
43
40
 
44
41
  test:
45
42
  commands:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "rdrpcatch"
7
- version = "0.0.1.post1"
7
+ version = "0.0.3"
8
8
  authors = [
9
9
  {name = "Dimitris Karapliafis", email = "dimitris.karapliafis@wur.nl"},
10
10
  {name = "Uri Neri", email = "uneri@lbl.gov"},
@@ -491,11 +491,10 @@ class hmmsearch_output_writter:
491
491
  :rtype: list
492
492
  """
493
493
  # Convert the path to use combined.tsv instead of rdrpcatch_output.tsv
494
- combined_file = str(Path(rdrpcatch_out).parent / Path(rdrpcatch_out))
495
494
  if self.logger:
496
- self.logger.silent_log(f"Reading coordinates from {combined_file}")
495
+ self.logger.silent_log(f"Reading coordinates from {rdrpcatch_out}")
497
496
 
498
- df = pl.read_csv(combined_file, separator='\t')
497
+ df = pl.read_csv(rdrpcatch_out, separator='\t')
499
498
  if self.logger:
500
499
  self.logger.silent_log(f"Found {len(df)} rows in combined file")
501
500
  self.logger.silent_log(f"Column names: {df.columns}")
@@ -139,7 +139,7 @@ class rdrpcatch_output:
139
139
  return self.fasta_output_dir / f"{self.prefix}_full_aminoacid_contigs.fasta"
140
140
 
141
141
  @property
142
- def rdrpcatch_output(self):
142
+ def rdrpcatch_output_tsv(self):
143
143
  return self.tsv_outdir / f"{self.prefix}_rdrpcatch_output.tsv"
144
144
 
145
145
  @property
@@ -423,8 +423,8 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
423
423
  if not os.path.exists(outputs.gff_output_dir):
424
424
  outputs.gff_output_dir.mkdir(parents=True)
425
425
  hmm_writer = format_pyhmmer_out.hmmsearch_output_writter(logger)
426
- hmm_writer.write_hmmsearch_hits(outputs.combined_tsv_path, seq_type, outputs.rdrpcatch_output, outputs.gff_output_path)
427
- rdrp_coords_list = hmm_writer.get_rdrp_coords(outputs.rdrpcatch_output,seq_type)
426
+ hmm_writer.write_hmmsearch_hits(outputs.combined_tsv_path, seq_type, outputs.rdrpcatch_output_tsv, outputs.gff_output_path)
427
+ rdrp_coords_list = hmm_writer.get_rdrp_coords(outputs.rdrpcatch_output_tsv,seq_type)
428
428
  utils.fasta(outputs.seqkit_translate_output_path, logger).write_fasta_coords(rdrp_coords_list,outputs.fasta_trimmed_out_path, seq_type)
429
429
 
430
430
  if verbose:
@@ -458,7 +458,7 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
458
458
  outputs.mmseqs_e_search_output_path, 7, cpus, outputs.mmseqs_e_search_log_path).run_mmseqs_e_search()
459
459
 
460
460
  utils.mmseqs_parser(outputs.mmseqs_tax_output_lca_path, outputs.mmseqs_e_search_output_path).tax_to_rdrpcatch(
461
- outputs.rdrpcatch_output, outputs.extended_rdrpcatch_output, seq_type)
461
+ outputs.rdrpcatch_output_tsv, outputs.extended_rdrpcatch_output, seq_type)
462
462
 
463
463
 
464
464
  elif seq_type == 'prot':
@@ -589,8 +589,8 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
589
589
  outputs.gff_output_dir.mkdir(parents=True)
590
590
 
591
591
  hmm_writer = format_pyhmmer_out.hmmsearch_output_writter(logger)
592
- hmm_writer.write_hmmsearch_hits(outputs.combined_tsv_path, seq_type, outputs.rdrpcatch_output, outputs.gff_output_path)
593
- rdrp_coords_list = hmm_writer.get_rdrp_coords(outputs.rdrpcatch_output,seq_type)
592
+ hmm_writer.write_hmmsearch_hits(outputs.combined_tsv_path, seq_type, outputs.rdrpcatch_output_tsv, outputs.gff_output_path)
593
+ rdrp_coords_list = hmm_writer.get_rdrp_coords(outputs.rdrpcatch_output_tsv,seq_type)
594
594
  utils.fasta(input_file, logger).write_fasta_coords(rdrp_coords_list,outputs.fasta_trimmed_out_path, seq_type)
595
595
 
596
596
  if verbose:
@@ -622,7 +622,7 @@ def run_scan(input_file, output_dir, db_options, db_dir, seq_type, verbose, e,in
622
622
  outputs.mmseqs_e_search_output_path, 7, cpus, outputs.mmseqs_e_search_log_path).run_mmseqs_e_search()
623
623
 
624
624
  utils.mmseqs_parser(outputs.mmseqs_tax_output_lca_path, outputs.mmseqs_e_search_output_path).tax_to_rdrpcatch(
625
- outputs.rdrpcatch_output, outputs.extended_rdrpcatch_output, seq_type)
625
+ outputs.rdrpcatch_output_tsv, outputs.extended_rdrpcatch_output, seq_type)
626
626
 
627
627
 
628
628
  end_time = logger.stop_timer(start_time, verbose)
File without changes
File without changes
File without changes
File without changes