rdrpcatch 0.0.7__tar.gz → 0.0.8__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.
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/workspace.xml +62 -25
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/PKG-INFO +88 -30
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/README.md +87 -29
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/pyproject.toml +1 -1
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/cli/args.py +36 -47
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/fetch_dbs.py +13 -9
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_wrapper.py +40 -6
- rdrpcatch-0.0.7/.idea/shelf/Uncommitted_changes_before_Update_at_19_05_2025_13_00_[Changes]/shelved.patch +0 -145
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.gitignore +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/.gitignore +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/.name +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/ColaB-Scan.iml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/misc.xml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/modules.xml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/.idea/vcs.xml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/LICENSE +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/dependencies/rdrpcatch_test_env.yaml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/dependencies/requirements.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/images/rdrpcatch_flowchart_v0.png +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/images/rdrpcatch_illustration.png +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/meta.yaml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/__init__.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/cli/__init__.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/__init__.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/format_pyhmmer_out.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/gui.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/mmseqs_tax.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/paths.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/plot.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/run_pyhmmer.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/run_seqkit.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/rdrpcatch/rdrpcatch_scripts/utils.py +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/meta_4test.yaml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch-1.0.0-py312_2.tar.bz2 +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_env.yaml +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_gff_files/test_translate_full_aminoacid_rdrpcatch.gff3 +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_fasta/test_translate_full_aminoacid_contigs.fasta +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_fasta/test_translate_trimmed_aminoacid_contigs.fasta +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_output_annotated.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_ID_score_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_contig_coverage_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_evalue_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_norm_bitscore_contig_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_norm_bitscore_plot_profile.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_profile_coverage_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_score_plot.html +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/test_translate_rdrpcatch_plots/test_translate_upset_plot.png +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_Lucaprot_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_NeoRdRp.2.1_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_NeoRdRp_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_RDRP-scan_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_RVMT_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_TSA_Olendraite_fam_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/best_hit_hmm_output/test_translate_TSA_Olendraite_gen_hmm_output_best_hit.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_Lucaprot_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_NeoRdRp.2.1_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_NeoRdRp_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_RDRP-scan_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_RVMT_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_TSA_Olendraite_fam_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/formatted_hmm_output/test_translate_TSA_Olendraite_gen_hmm_output_formatted.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_Lucaprot_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_Lucaprot_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp.2.1_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp.2.1_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_NeoRdRp_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RDRP-scan_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RDRP-scan_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RVMT_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_RVMT_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_fam_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_fam_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_gen_hmmsearch_output.custom.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/hmm_output/test_translate_TSA_Olendraite_gen_hmmsearch_output.txt +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_e_search_output/test_translate_mmseqs_e_search.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_lca.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_report +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_tophit_aln +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/test_translate_mmseqs_tax_tophit_report +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/mmseqs_tax_output/tmp/16608414482057878997/easy-taxonomy.sh +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_mmseqs_e_search.log +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_mmseqs_tax.log +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/test_translate_logs/test_translate_rdrpcatch.log +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_combined.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_rdrpcatch_output.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/rdrpcatch_test_translate/tmp/tsv_files/test_translate_upset_data.tsv +0 -0
- {rdrpcatch-0.0.7 → rdrpcatch-0.0.8}/testing/test_translate.fasta +0 -0
|
@@ -4,10 +4,8 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="d849e6fa-87f9-4e92-9c33-abef7cc975d3" name="Changes" comment="
|
|
7
|
+
<list default="true" id="d849e6fa-87f9-4e92-9c33-abef7cc975d3" name="Changes" comment="Polish README.md">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/rdrpcatch/cli/args.py" beforeDir="false" afterPath="$PROJECT_DIR$/rdrpcatch/cli/args.py" afterDir="false" />
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/rdrpcatch/rdrpcatch_wrapper.py" beforeDir="false" afterPath="$PROJECT_DIR$/rdrpcatch/rdrpcatch_wrapper.py" afterDir="false" />
|
|
11
9
|
</list>
|
|
12
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
13
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -40,22 +38,22 @@
|
|
|
40
38
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
41
39
|
<option name="showLibraryContents" value="true" />
|
|
42
40
|
</component>
|
|
43
|
-
<component name="PropertiesComponent"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
<component name="PropertiesComponent">{
|
|
42
|
+
"keyToString": {
|
|
43
|
+
"ASKED_ADD_EXTERNAL_FILES": "true",
|
|
44
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
45
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
46
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
47
|
+
"last_opened_file_path": "C:/Users/karso/PycharmProjects/testing_approaches",
|
|
48
|
+
"node.js.detected.package.eslint": "true",
|
|
49
|
+
"node.js.detected.package.tslint": "true",
|
|
50
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
51
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
52
|
+
"nodejs_package_manager_path": "npm",
|
|
53
|
+
"settings.editor.selected.configurable": "preferences.pluginManager",
|
|
54
|
+
"vue.rearranger.settings.migration": "true"
|
|
57
55
|
}
|
|
58
|
-
}
|
|
56
|
+
}</component>
|
|
59
57
|
<component name="RecentsManager">
|
|
60
58
|
<key name="CopyFile.RECENT_KEYS">
|
|
61
59
|
<recent name="C:\Users\karso\PycharmProjects\ColaB-Scan\testing" />
|
|
@@ -124,7 +122,14 @@
|
|
|
124
122
|
<workItem from="1745576502650" duration="11691000" />
|
|
125
123
|
<workItem from="1746005454102" duration="1271000" />
|
|
126
124
|
<workItem from="1746359600096" duration="3517000" />
|
|
127
|
-
<workItem from="1747128382581" duration="
|
|
125
|
+
<workItem from="1747128382581" duration="13158000" />
|
|
126
|
+
<workItem from="1747982429311" duration="667000" />
|
|
127
|
+
<workItem from="1749116182040" duration="4263000" />
|
|
128
|
+
<workItem from="1749714727345" duration="626000" />
|
|
129
|
+
<workItem from="1750247217114" duration="128000" />
|
|
130
|
+
<workItem from="1750854909876" duration="599000" />
|
|
131
|
+
<workItem from="1751007640706" duration="596000" />
|
|
132
|
+
<workItem from="1751535404721" duration="16934000" />
|
|
128
133
|
</task>
|
|
129
134
|
<task id="LOCAL-00001" summary="First commit: Script for benchmark">
|
|
130
135
|
<option name="closed" value="true" />
|
|
@@ -382,7 +387,39 @@
|
|
|
382
387
|
<option name="project" value="LOCAL" />
|
|
383
388
|
<updated>1745863445358</updated>
|
|
384
389
|
</task>
|
|
385
|
-
<
|
|
390
|
+
<task id="LOCAL-00033" summary="Updates: add support for Zayed_HMM database. change name of Lucaprot db to Lucaprot_HMM">
|
|
391
|
+
<option name="closed" value="true" />
|
|
392
|
+
<created>1747652478191</created>
|
|
393
|
+
<option name="number" value="00033" />
|
|
394
|
+
<option name="presentableId" value="LOCAL-00033" />
|
|
395
|
+
<option name="project" value="LOCAL" />
|
|
396
|
+
<updated>1747652478191</updated>
|
|
397
|
+
</task>
|
|
398
|
+
<task id="LOCAL-00034" summary="Updates: Update .toml">
|
|
399
|
+
<option name="closed" value="true" />
|
|
400
|
+
<created>1747652535824</created>
|
|
401
|
+
<option name="number" value="00034" />
|
|
402
|
+
<option name="presentableId" value="LOCAL-00034" />
|
|
403
|
+
<option name="project" value="LOCAL" />
|
|
404
|
+
<updated>1747652535824</updated>
|
|
405
|
+
</task>
|
|
406
|
+
<task id="LOCAL-00035" summary="Updates: Command line argument parsing without underscore characters Module download renamed to databases Implementation of integration of custom databases Fixed bug with reading the directories of Lucaprot_HMM and Zayed_HMM Update .toml">
|
|
407
|
+
<option name="closed" value="true" />
|
|
408
|
+
<created>1751587387896</created>
|
|
409
|
+
<option name="number" value="00035" />
|
|
410
|
+
<option name="presentableId" value="LOCAL-00035" />
|
|
411
|
+
<option name="project" value="LOCAL" />
|
|
412
|
+
<updated>1751587387896</updated>
|
|
413
|
+
</task>
|
|
414
|
+
<task id="LOCAL-00036" summary="Polish README.md">
|
|
415
|
+
<option name="closed" value="true" />
|
|
416
|
+
<created>1751587669980</created>
|
|
417
|
+
<option name="number" value="00036" />
|
|
418
|
+
<option name="presentableId" value="LOCAL-00036" />
|
|
419
|
+
<option name="project" value="LOCAL" />
|
|
420
|
+
<updated>1751587669980</updated>
|
|
421
|
+
</task>
|
|
422
|
+
<option name="localTasksCounter" value="37" />
|
|
386
423
|
<servers />
|
|
387
424
|
</component>
|
|
388
425
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -400,10 +437,6 @@
|
|
|
400
437
|
</option>
|
|
401
438
|
</component>
|
|
402
439
|
<component name="VcsManagerConfiguration">
|
|
403
|
-
<MESSAGE value="Commit: File name change" />
|
|
404
|
-
<MESSAGE value="Commit: Upload script and results" />
|
|
405
|
-
<MESSAGE value="Upload Jupyter notebooks and their respective documentation" />
|
|
406
|
-
<MESSAGE value="Upload script progress" />
|
|
407
440
|
<MESSAGE value="Script progress: GUI implementation with tkinter Summarised ColabScan output added Improvement of command line arguments General fixes" />
|
|
408
441
|
<MESSAGE value="Script progress: Reimplementation of argument parsing to support 3 modes: Scan, Download and GUI Implementation of runtime calculation Rename seqkit.py to run_seqkit.py" />
|
|
409
442
|
<MESSAGE value="Script progress: Introduce test for Fasta seq length to avoid crushing pyHMMER Add RdRp coordinates to output and Fasta file (only for aminoacid sequences) Correction of scores calculation for coverage Fix scaling of e-value plot (converted to log-scale) Introduce saving intermidiate files to tmp directory" />
|
|
@@ -425,6 +458,10 @@
|
|
|
425
458
|
<MESSAGE value="Updates: Polishing ReadME Fixed bug that crushed the script when at least one pHMM DB does not have a match against the sequence database" />
|
|
426
459
|
<MESSAGE value="Updates: Fixed bug that crushed the script when at least one pHMM DB does not have a match against the sequence database also for nuc branch" />
|
|
427
460
|
<MESSAGE value="Updates: Add -overwrite as a flag Add informative progress statements in cli" />
|
|
428
|
-
<
|
|
461
|
+
<MESSAGE value="Updates: add support for Zayed_HMM database. change name of Lucaprot db to Lucaprot_HMM" />
|
|
462
|
+
<MESSAGE value="Updates: Update .toml" />
|
|
463
|
+
<MESSAGE value="Updates: Command line argument parsing without underscore characters Module download renamed to databases Implementation of integration of custom databases Fixed bug with reading the directories of Lucaprot_HMM and Zayed_HMM Update .toml" />
|
|
464
|
+
<MESSAGE value="Polish README.md" />
|
|
465
|
+
<option name="LAST_COMMIT_MESSAGE" value="Polish README.md" />
|
|
429
466
|
</component>
|
|
430
467
|
</project>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rdrpcatch
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
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
|
|
@@ -34,8 +34,20 @@ library to perform pHMM searches. In addition, the tool scans each sequence (aa
|
|
|
34
34
|
In addition, RdRpCATCH provides information about the number of profiles
|
|
35
35
|
that were positive for each sequence across all pHMM databases, and taxonomic information based on the MMseqs2 easy-taxonomy and search modules against a custom RefSeq Riboviria database.
|
|
36
36
|
|
|
37
|
+
### Version 0.0.7 -> 0.0.8 Changelog
|
|
38
|
+
- Added support for custom pHMM databases. See the [Setting up custom pHMM databases](#setting-up-custom-phmm-databases) section for more information.
|
|
39
|
+
- All specified flags use '-' instead of '_' (e.g. `--db-dir` instead of `--db_dir`).
|
|
40
|
+
- Fixed issue with specifying the Lucaprot_HMM and Zayed_HMM databases in the `--db-options` argument.
|
|
41
|
+
- Command `rdrpcatch download` renamed as `rdrpcatch databases` for clarity, as it now supports adding custom pHMM
|
|
42
|
+
databases to the RdRpCATCH databases. This is facilitated by the `--add-custom-db` argument.
|
|
43
|
+
- Added none option to the `--db-options` argument to search only against custom databases.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
37
47
|
** The tool has been modified to use [rolypoly](https://code.jgi.doe.gov/UNeri/rolypoly) code/approaches **
|
|
38
48
|
|
|
49
|
+
|
|
50
|
+
|
|
39
51
|

|
|
40
52
|
|
|
41
53
|
### Supported databases
|
|
@@ -43,9 +55,10 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
|
|
|
43
55
|
- NeoRdRp2 <sup>2</sup>: 19394 pHMMs
|
|
44
56
|
- RVMT <sup>3</sup>: 710 pHMMs
|
|
45
57
|
- RdRp-Scan <sup>4</sup> : 68 pHMMs
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
58
|
+
- TSA_Olendraite_fam <sup>5</sup>: 77 pHMMs
|
|
59
|
+
- TSA_Olendraite_gen <sup>6</sup> : 341 pHMMs
|
|
60
|
+
- LucaProt_HMM<sup>7 </sup> : 754 pHMMs
|
|
61
|
+
- Zayed_HMM<sup>8 </sup> : 2489 pHMMs
|
|
49
62
|
|
|
50
63
|
1. Sakaguchi, S. et al. (2022) 'NeoRdRp: A comprehensive dataset for identifying RNA-dependent RNA polymerases of various RNA viruses from metatranscriptomic data', *Microbes and Environments*, 37(3). [doi:10.1264/jsme2.me22001](https://doi.org/10.1264/jsme2.me22001)
|
|
51
64
|
2. Sakaguchi, S., Nakano, T. and Nakagawa, S. (2024) 'Neordrp2 with improved seed data, annotations, and scoring', *Frontiers in Virology*, 4. [doi:10.3389/fviro.2024.1378695](https://doi.org/10.3389/fviro.2024.1378695)
|
|
@@ -53,7 +66,9 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
|
|
|
53
66
|
4. Charon, J. et al. (2022) 'RDRP-Scan: A bioinformatic resource to identify and annotate divergent RNA viruses in metagenomic sequence data', *Virus Evolution*, 8(2). [doi:10.1093/ve/veac082](https://doi.org/10.1093/ve/veac082)
|
|
54
67
|
5. Olendraite, I., Brown, K. and Firth, A.E. (2023) 'Identification of RNA virus–derived rdrp sequences in publicly available transcriptomic data sets', *Molecular Biology and Evolution*, 40(4). [doi:10.1093/molbev/msad060](https://doi.org/10.1093/molbev/msad060)
|
|
55
68
|
6. Olendraite, I. (2021) 'Mining diverse and novel RNA viruses in transcriptomic datasets', Apollo. Available at: [https://www.repository.cam.ac.uk/items/1fabebd2-429b-45c9-b6eb-41d27d0a90c2](https://www.repository.cam.ac.uk/items/1fabebd2-429b-45c9-b6eb-41d27d0a90c2)
|
|
56
|
-
7. Hou, X. et al. (2024) 'Using artificial intelligence to document the hidden RNA virosphere', *Cell*, 187(24). [doi:10.1016/j.cell.2024.09.027](https://doi.org/10.1016/j.cell.2024.09.027)
|
|
69
|
+
7. Hou, X. and He, Y. et al. (2024) 'Using artificial intelligence to document the hidden RNA virosphere', *Cell*, 187(24). [doi:10.1016/j.cell.2024.09.027](https://doi.org/10.1016/j.cell.2024.09.027)
|
|
70
|
+
8. Zayed, A. A., et al. (2022) 'Cryptic and abundant marine viruses at the evolutionary origins of Earth’s RNA virome.' *Science*, 376(6589), 156–162. [doi:10.1126/science.abm5847](https://doi.org/10.1126/science.abm5847)
|
|
71
|
+
|
|
57
72
|
|
|
58
73
|
|
|
59
74
|
## Installation
|
|
@@ -94,13 +109,16 @@ Activate the environment and download the RdRpCATCH databases:
|
|
|
94
109
|
|
|
95
110
|
```bash
|
|
96
111
|
conda activate rdrpcatch
|
|
97
|
-
rdrpcatch
|
|
112
|
+
rdrpcatch databases --destination_dir path/to/store/databases
|
|
98
113
|
```
|
|
99
114
|
|
|
100
115
|
* Note 1: The databases are large files and may take some time to download (~ 3 GB).
|
|
101
116
|
* Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
|
|
102
117
|
* 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.
|
|
103
118
|
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
104
122
|
## Usage
|
|
105
123
|
RdRpCATCH can be used as a CLI tool as follows:
|
|
106
124
|
|
|
@@ -109,20 +127,58 @@ RdRpCATCH can be used as a CLI tool as follows:
|
|
|
109
127
|
# conda activate rdrpcatch
|
|
110
128
|
|
|
111
129
|
# scan the input fasta file with the selected databases
|
|
112
|
-
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -
|
|
130
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db-dir path/to/database
|
|
113
131
|
```
|
|
114
|
-
|
|
132
|
+
|
|
133
|
+
## Input description
|
|
115
134
|
The input file can be one or more nucleotide or protein sequences in multi-fasta format.
|
|
116
135
|
The output directory is where the results will be stored. We recommend specifying the type of the sequence in the command line,
|
|
117
136
|
An optional argument `--seq_type` (nuc or prot) can be used to specify if the input fasta file sequences are nucleotide or amino acid.
|
|
118
137
|
|
|
138
|
+
|
|
139
|
+
## Setting up custom pHMM databases
|
|
140
|
+
It is possible to use custom pHMM databases with RdRpCATCH. As a prerequisite, you need to install the RdRpCATCH
|
|
141
|
+
databases using the `rdrpcatch databases` command as described above, to a directory of your choice.
|
|
142
|
+
|
|
143
|
+
The custom databases should be formatted as follows:
|
|
144
|
+
|
|
145
|
+
- First create a directory and give it a descriptive name, e.g. `my_custom_rdrp_database`. Important: The name should not contain comma `,` characters.
|
|
146
|
+
- Inside the directory put your custom pHMM HMMER pressed database. You can use the `hmmpress` command of HMMER to create the pressed database from your custom HMM file. This creates a set of files with the same name as the original HMM file, but with different extensions (e.g. `.h3f`, `.h3i`, `.h3m`, `.h3p`). The directory should contain all these files. Please refer to the HMMER manual for more information on how to create a pressed database from an HMM file. (http://eddylab.org/software/hmmer/Userguide.pdf)
|
|
147
|
+
- Next you can add the directory to the custom databases that are readable by RdRpCATCH. This can be done by using the rdrpcatch databases command as follows:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
rdrpcatch databases --add-custom-db path/to/my_custom_rdrp_database --destination-dir path/that/contains/rdrpcatch/databases
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
- This will add the custom database to the list of databases that can be used with RdRpCATCH.
|
|
154
|
+
- The custom database can then be used with the `rdrpcatch scan` command by specifying the `--custom-dbs` argument as follows:
|
|
155
|
+
-
|
|
156
|
+
```bash
|
|
157
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db_dir path/to/database --custom-dbs custom_database_name
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
- The `custom_database_name` should be the name of the directory that contains the custom pHMM files, without the path.
|
|
161
|
+
- For example, if the custom database is stored in `path/to/my_custom_rdrp_database`, you would use `--custom-dbs my_custom_rdrp_database` in the command line.
|
|
162
|
+
- You can add multiple custom databases by installing them in the same way and specifying them by separating them with commas, e.g. `--custom-dbs my_custom_rdrp_database,another_custom_database`.
|
|
163
|
+
- The custom databases can be used in combination with the pre-compiled databases provided by RdRpCATCH. To do this, you can specify the `--db_options` argument with the names of the pre-compiled databases you want to use, and specify the custom databases with the `--custom-dbs` argument.
|
|
164
|
+
- For example, if you want to use the NeoRdRp and RVMT databases along with your custom database, you would use the following command:
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db_dir path/to/database --db_options NeoRdRp,RVMT --custom-dbs my_custom_rdrp_database
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
- Note: By default, RdRpCATCH will search against all pre-compiled databases if no `--db_options` argument is specified. If you want to use only the custom databases, you can specify `--db_options none` to avoid searching against the pre-compiled databases.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
119
175
|
## Commands
|
|
120
176
|
The following two commands are available in RdRpCATCH:
|
|
121
177
|
* [`rdrpcatch scan`](#rdrpcatch-scan)
|
|
122
|
-
* [`rdrpcatch
|
|
178
|
+
* [`rdrpcatch databases`](#rdrpcatch-download)
|
|
123
179
|
|
|
124
|
-
### rdrpcatch
|
|
125
|
-
Command to download pre-compiled databases from Zenodo. If the databases are already downloaded in the specified directory
|
|
180
|
+
### rdrpcatch databases:
|
|
181
|
+
Command to download pre-compiled databases from Zenodo and to set up custom databases. If the databases are already downloaded in the specified directory
|
|
126
182
|
, the command will check for updates and download the latest version if available.
|
|
127
183
|
|
|
128
184
|
| Argument | Short Flag | Type | Description |
|
|
@@ -130,28 +186,30 @@ Command to download pre-compiled databases from Zenodo. If the databases are alr
|
|
|
130
186
|
| `--destination_dir` | `-dest` | PATH | Path to the directory to download HMM databases. [required] |
|
|
131
187
|
| `--concept-doi` | `` | TEXT | Zenodo Concept DOI for database repository |
|
|
132
188
|
| `--help` | `` | | Show help message and exit |
|
|
189
|
+
| `--add-custom-db` | `` | PATH | Path to the directory containing custom pHMM files to add to the RdRpCATCH databases. |
|
|
190
|
+
|
|
133
191
|
### rdrpcatch scan:
|
|
134
192
|
Search a given input using selected RdRp databases.
|
|
135
193
|
|
|
136
|
-
| Argument
|
|
137
|
-
|
|
138
|
-
| `--input`
|
|
139
|
-
| `--output`
|
|
140
|
-
| `--
|
|
141
|
-
| `--
|
|
142
|
-
| `--custom-dbs`
|
|
143
|
-
| `--
|
|
144
|
-
| `--verbose`
|
|
145
|
-
| `--evalue`
|
|
146
|
-
| `--incevalue`
|
|
147
|
-
| `--domevalue`
|
|
148
|
-
| `--incdomevalue` | `-incdomE`
|
|
149
|
-
| `--zvalue`
|
|
150
|
-
| `--cpus`
|
|
151
|
-
| `--
|
|
152
|
-
| `--
|
|
153
|
-
| `--bundle`
|
|
154
|
-
| `--
|
|
194
|
+
| Argument | Short Flag | Type | Description |
|
|
195
|
+
|------------------|---------------|------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
196
|
+
| `--input` | `-i` | FILE | Path to the input FASTA file. [required] |
|
|
197
|
+
| `--output` | `-o` | DIRECTORY | Path to the output directory. [required] |
|
|
198
|
+
| `--db-dir` | `-db-dir` | PATH | Path to the directory containing RdRpCATCH databases. [required] |
|
|
199
|
+
| `--db-options` | `-dbs` | TEXT | Comma-separated list of pre-installed databases to search against. Valid options: RVMT, NeoRdRp, NeoRdRp.2.1, TSA_Olendraite_fam, TSA_Olendraite_gen, RDRP-scan, Lucaprot_HMM,Zayed_HMM, all |
|
|
200
|
+
| `--custom-dbs` | | PATH | Comma-separated list of custom databases to search against. Valid options: names of the directories that the custom databases are stored in. |
|
|
201
|
+
| `--seq-type` | `-seq-type` | TEXT | Type of sequence to search against: (prot,nuc) Default: unknown |
|
|
202
|
+
| `--verbose` | `-v` | FLAG | Print verbose output. |
|
|
203
|
+
| `--evalue` | `-e` | FLOAT | E-value threshold for HMMsearch. (default: 1e-5) |
|
|
204
|
+
| `--incevalue` | `-incE` | FLOAT | Inclusion E-value threshold for HMMsearch. (default: 1e-5) |
|
|
205
|
+
| `--domevalue` | `-domE` | FLOAT | Domain E-value threshold for HMMsearch. (default: 1e-5) |
|
|
206
|
+
| `--incdomevalue` | `-incdomE` | FLOAT | Inclusion domain E-value threshold for HMMsearch. (default: 1e-5) |
|
|
207
|
+
| `--zvalue` | `-z` | INTEGER | Number of sequences to search against. (default: 1000000) |
|
|
208
|
+
| `--cpus` | `-cpus` | INTEGER | Number of CPUs to use for HMMsearch. (default: 1) |
|
|
209
|
+
| `--length-thr` | `-length-thr` | INTEGER | Minimum length threshold for seqkit seq. (default: 400) |
|
|
210
|
+
| `--gen-code` | `-gen-code` | INTEGER | Genetic code to use for translation. (default: 1) |
|
|
211
|
+
| `--bundle` | `-bundle` | | Bundle the output files into a single archive. (default: False) |
|
|
212
|
+
| `--keep-tmp` | `-keep-tmp` | | Keep the temporary files generated during the analysis. (default: False) |
|
|
155
213
|
|
|
156
214
|
|
|
157
215
|
|
|
@@ -12,8 +12,20 @@ library to perform pHMM searches. In addition, the tool scans each sequence (aa
|
|
|
12
12
|
In addition, RdRpCATCH provides information about the number of profiles
|
|
13
13
|
that were positive for each sequence across all pHMM databases, and taxonomic information based on the MMseqs2 easy-taxonomy and search modules against a custom RefSeq Riboviria database.
|
|
14
14
|
|
|
15
|
+
### Version 0.0.7 -> 0.0.8 Changelog
|
|
16
|
+
- Added support for custom pHMM databases. See the [Setting up custom pHMM databases](#setting-up-custom-phmm-databases) section for more information.
|
|
17
|
+
- All specified flags use '-' instead of '_' (e.g. `--db-dir` instead of `--db_dir`).
|
|
18
|
+
- Fixed issue with specifying the Lucaprot_HMM and Zayed_HMM databases in the `--db-options` argument.
|
|
19
|
+
- Command `rdrpcatch download` renamed as `rdrpcatch databases` for clarity, as it now supports adding custom pHMM
|
|
20
|
+
databases to the RdRpCATCH databases. This is facilitated by the `--add-custom-db` argument.
|
|
21
|
+
- Added none option to the `--db-options` argument to search only against custom databases.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
15
25
|
** The tool has been modified to use [rolypoly](https://code.jgi.doe.gov/UNeri/rolypoly) code/approaches **
|
|
16
26
|
|
|
27
|
+
|
|
28
|
+
|
|
17
29
|

|
|
18
30
|
|
|
19
31
|
### Supported databases
|
|
@@ -21,9 +33,10 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
|
|
|
21
33
|
- NeoRdRp2 <sup>2</sup>: 19394 pHMMs
|
|
22
34
|
- RVMT <sup>3</sup>: 710 pHMMs
|
|
23
35
|
- RdRp-Scan <sup>4</sup> : 68 pHMMs
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
36
|
+
- TSA_Olendraite_fam <sup>5</sup>: 77 pHMMs
|
|
37
|
+
- TSA_Olendraite_gen <sup>6</sup> : 341 pHMMs
|
|
38
|
+
- LucaProt_HMM<sup>7 </sup> : 754 pHMMs
|
|
39
|
+
- Zayed_HMM<sup>8 </sup> : 2489 pHMMs
|
|
27
40
|
|
|
28
41
|
1. Sakaguchi, S. et al. (2022) 'NeoRdRp: A comprehensive dataset for identifying RNA-dependent RNA polymerases of various RNA viruses from metatranscriptomic data', *Microbes and Environments*, 37(3). [doi:10.1264/jsme2.me22001](https://doi.org/10.1264/jsme2.me22001)
|
|
29
42
|
2. Sakaguchi, S., Nakano, T. and Nakagawa, S. (2024) 'Neordrp2 with improved seed data, annotations, and scoring', *Frontiers in Virology*, 4. [doi:10.3389/fviro.2024.1378695](https://doi.org/10.3389/fviro.2024.1378695)
|
|
@@ -31,7 +44,9 @@ that were positive for each sequence across all pHMM databases, and taxonomic in
|
|
|
31
44
|
4. Charon, J. et al. (2022) 'RDRP-Scan: A bioinformatic resource to identify and annotate divergent RNA viruses in metagenomic sequence data', *Virus Evolution*, 8(2). [doi:10.1093/ve/veac082](https://doi.org/10.1093/ve/veac082)
|
|
32
45
|
5. Olendraite, I., Brown, K. and Firth, A.E. (2023) 'Identification of RNA virus–derived rdrp sequences in publicly available transcriptomic data sets', *Molecular Biology and Evolution*, 40(4). [doi:10.1093/molbev/msad060](https://doi.org/10.1093/molbev/msad060)
|
|
33
46
|
6. Olendraite, I. (2021) 'Mining diverse and novel RNA viruses in transcriptomic datasets', Apollo. Available at: [https://www.repository.cam.ac.uk/items/1fabebd2-429b-45c9-b6eb-41d27d0a90c2](https://www.repository.cam.ac.uk/items/1fabebd2-429b-45c9-b6eb-41d27d0a90c2)
|
|
34
|
-
7. Hou, X. et al. (2024) 'Using artificial intelligence to document the hidden RNA virosphere', *Cell*, 187(24). [doi:10.1016/j.cell.2024.09.027](https://doi.org/10.1016/j.cell.2024.09.027)
|
|
47
|
+
7. Hou, X. and He, Y. et al. (2024) 'Using artificial intelligence to document the hidden RNA virosphere', *Cell*, 187(24). [doi:10.1016/j.cell.2024.09.027](https://doi.org/10.1016/j.cell.2024.09.027)
|
|
48
|
+
8. Zayed, A. A., et al. (2022) 'Cryptic and abundant marine viruses at the evolutionary origins of Earth’s RNA virome.' *Science*, 376(6589), 156–162. [doi:10.1126/science.abm5847](https://doi.org/10.1126/science.abm5847)
|
|
49
|
+
|
|
35
50
|
|
|
36
51
|
|
|
37
52
|
## Installation
|
|
@@ -72,13 +87,16 @@ Activate the environment and download the RdRpCATCH databases:
|
|
|
72
87
|
|
|
73
88
|
```bash
|
|
74
89
|
conda activate rdrpcatch
|
|
75
|
-
rdrpcatch
|
|
90
|
+
rdrpcatch databases --destination_dir path/to/store/databases
|
|
76
91
|
```
|
|
77
92
|
|
|
78
93
|
* Note 1: The databases are large files and may take some time to download (~ 3 GB).
|
|
79
94
|
* Note 2: The databases are stored in the specified directory, and the path is required to run RdRpCATCH.
|
|
80
95
|
* 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.
|
|
81
96
|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
82
100
|
## Usage
|
|
83
101
|
RdRpCATCH can be used as a CLI tool as follows:
|
|
84
102
|
|
|
@@ -87,20 +105,58 @@ RdRpCATCH can be used as a CLI tool as follows:
|
|
|
87
105
|
# conda activate rdrpcatch
|
|
88
106
|
|
|
89
107
|
# scan the input fasta file with the selected databases
|
|
90
|
-
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -
|
|
108
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db-dir path/to/database
|
|
91
109
|
```
|
|
92
|
-
|
|
110
|
+
|
|
111
|
+
## Input description
|
|
93
112
|
The input file can be one or more nucleotide or protein sequences in multi-fasta format.
|
|
94
113
|
The output directory is where the results will be stored. We recommend specifying the type of the sequence in the command line,
|
|
95
114
|
An optional argument `--seq_type` (nuc or prot) can be used to specify if the input fasta file sequences are nucleotide or amino acid.
|
|
96
115
|
|
|
116
|
+
|
|
117
|
+
## Setting up custom pHMM databases
|
|
118
|
+
It is possible to use custom pHMM databases with RdRpCATCH. As a prerequisite, you need to install the RdRpCATCH
|
|
119
|
+
databases using the `rdrpcatch databases` command as described above, to a directory of your choice.
|
|
120
|
+
|
|
121
|
+
The custom databases should be formatted as follows:
|
|
122
|
+
|
|
123
|
+
- First create a directory and give it a descriptive name, e.g. `my_custom_rdrp_database`. Important: The name should not contain comma `,` characters.
|
|
124
|
+
- Inside the directory put your custom pHMM HMMER pressed database. You can use the `hmmpress` command of HMMER to create the pressed database from your custom HMM file. This creates a set of files with the same name as the original HMM file, but with different extensions (e.g. `.h3f`, `.h3i`, `.h3m`, `.h3p`). The directory should contain all these files. Please refer to the HMMER manual for more information on how to create a pressed database from an HMM file. (http://eddylab.org/software/hmmer/Userguide.pdf)
|
|
125
|
+
- Next you can add the directory to the custom databases that are readable by RdRpCATCH. This can be done by using the rdrpcatch databases command as follows:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
rdrpcatch databases --add-custom-db path/to/my_custom_rdrp_database --destination-dir path/that/contains/rdrpcatch/databases
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
- This will add the custom database to the list of databases that can be used with RdRpCATCH.
|
|
132
|
+
- The custom database can then be used with the `rdrpcatch scan` command by specifying the `--custom-dbs` argument as follows:
|
|
133
|
+
-
|
|
134
|
+
```bash
|
|
135
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db_dir path/to/database --custom-dbs custom_database_name
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
- The `custom_database_name` should be the name of the directory that contains the custom pHMM files, without the path.
|
|
139
|
+
- For example, if the custom database is stored in `path/to/my_custom_rdrp_database`, you would use `--custom-dbs my_custom_rdrp_database` in the command line.
|
|
140
|
+
- You can add multiple custom databases by installing them in the same way and specifying them by separating them with commas, e.g. `--custom-dbs my_custom_rdrp_database,another_custom_database`.
|
|
141
|
+
- The custom databases can be used in combination with the pre-compiled databases provided by RdRpCATCH. To do this, you can specify the `--db_options` argument with the names of the pre-compiled databases you want to use, and specify the custom databases with the `--custom-dbs` argument.
|
|
142
|
+
- For example, if you want to use the NeoRdRp and RVMT databases along with your custom database, you would use the following command:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
rdrpcatch scan -i path/to/input.fasta -o path/to/output_dir -db_dir path/to/database --db_options NeoRdRp,RVMT --custom-dbs my_custom_rdrp_database
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
- Note: By default, RdRpCATCH will search against all pre-compiled databases if no `--db_options` argument is specified. If you want to use only the custom databases, you can specify `--db_options none` to avoid searching against the pre-compiled databases.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
97
153
|
## Commands
|
|
98
154
|
The following two commands are available in RdRpCATCH:
|
|
99
155
|
* [`rdrpcatch scan`](#rdrpcatch-scan)
|
|
100
|
-
* [`rdrpcatch
|
|
156
|
+
* [`rdrpcatch databases`](#rdrpcatch-download)
|
|
101
157
|
|
|
102
|
-
### rdrpcatch
|
|
103
|
-
Command to download pre-compiled databases from Zenodo. If the databases are already downloaded in the specified directory
|
|
158
|
+
### rdrpcatch databases:
|
|
159
|
+
Command to download pre-compiled databases from Zenodo and to set up custom databases. If the databases are already downloaded in the specified directory
|
|
104
160
|
, the command will check for updates and download the latest version if available.
|
|
105
161
|
|
|
106
162
|
| Argument | Short Flag | Type | Description |
|
|
@@ -108,28 +164,30 @@ Command to download pre-compiled databases from Zenodo. If the databases are alr
|
|
|
108
164
|
| `--destination_dir` | `-dest` | PATH | Path to the directory to download HMM databases. [required] |
|
|
109
165
|
| `--concept-doi` | `` | TEXT | Zenodo Concept DOI for database repository |
|
|
110
166
|
| `--help` | `` | | Show help message and exit |
|
|
167
|
+
| `--add-custom-db` | `` | PATH | Path to the directory containing custom pHMM files to add to the RdRpCATCH databases. |
|
|
168
|
+
|
|
111
169
|
### rdrpcatch scan:
|
|
112
170
|
Search a given input using selected RdRp databases.
|
|
113
171
|
|
|
114
|
-
| Argument
|
|
115
|
-
|
|
116
|
-
| `--input`
|
|
117
|
-
| `--output`
|
|
118
|
-
| `--
|
|
119
|
-
| `--
|
|
120
|
-
| `--custom-dbs`
|
|
121
|
-
| `--
|
|
122
|
-
| `--verbose`
|
|
123
|
-
| `--evalue`
|
|
124
|
-
| `--incevalue`
|
|
125
|
-
| `--domevalue`
|
|
126
|
-
| `--incdomevalue` | `-incdomE`
|
|
127
|
-
| `--zvalue`
|
|
128
|
-
| `--cpus`
|
|
129
|
-
| `--
|
|
130
|
-
| `--
|
|
131
|
-
| `--bundle`
|
|
132
|
-
| `--
|
|
172
|
+
| Argument | Short Flag | Type | Description |
|
|
173
|
+
|------------------|---------------|------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
174
|
+
| `--input` | `-i` | FILE | Path to the input FASTA file. [required] |
|
|
175
|
+
| `--output` | `-o` | DIRECTORY | Path to the output directory. [required] |
|
|
176
|
+
| `--db-dir` | `-db-dir` | PATH | Path to the directory containing RdRpCATCH databases. [required] |
|
|
177
|
+
| `--db-options` | `-dbs` | TEXT | Comma-separated list of pre-installed databases to search against. Valid options: RVMT, NeoRdRp, NeoRdRp.2.1, TSA_Olendraite_fam, TSA_Olendraite_gen, RDRP-scan, Lucaprot_HMM,Zayed_HMM, all |
|
|
178
|
+
| `--custom-dbs` | | PATH | Comma-separated list of custom databases to search against. Valid options: names of the directories that the custom databases are stored in. |
|
|
179
|
+
| `--seq-type` | `-seq-type` | TEXT | Type of sequence to search against: (prot,nuc) Default: unknown |
|
|
180
|
+
| `--verbose` | `-v` | FLAG | Print verbose output. |
|
|
181
|
+
| `--evalue` | `-e` | FLOAT | E-value threshold for HMMsearch. (default: 1e-5) |
|
|
182
|
+
| `--incevalue` | `-incE` | FLOAT | Inclusion E-value threshold for HMMsearch. (default: 1e-5) |
|
|
183
|
+
| `--domevalue` | `-domE` | FLOAT | Domain E-value threshold for HMMsearch. (default: 1e-5) |
|
|
184
|
+
| `--incdomevalue` | `-incdomE` | FLOAT | Inclusion domain E-value threshold for HMMsearch. (default: 1e-5) |
|
|
185
|
+
| `--zvalue` | `-z` | INTEGER | Number of sequences to search against. (default: 1000000) |
|
|
186
|
+
| `--cpus` | `-cpus` | INTEGER | Number of CPUs to use for HMMsearch. (default: 1) |
|
|
187
|
+
| `--length-thr` | `-length-thr` | INTEGER | Minimum length threshold for seqkit seq. (default: 400) |
|
|
188
|
+
| `--gen-code` | `-gen-code` | INTEGER | Genetic code to use for translation. (default: 1) |
|
|
189
|
+
| `--bundle` | `-bundle` | | Bundle the output files into a single archive. (default: False) |
|
|
190
|
+
| `--keep-tmp` | `-keep-tmp` | | Keep the temporary files generated during the analysis. (default: False) |
|
|
133
191
|
|
|
134
192
|
|
|
135
193
|
|