-
Notifications
You must be signed in to change notification settings - Fork 4
/
RFSB_Help.py
80 lines (79 loc) · 4.18 KB
/
RFSB_Help.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
############################################################################
##### Transposon Classifier RFSB - part of Transposon Ultimate #############
##### Kevin Riehl ([email protected], 2021) #########################
############################################################################
# Methods
def helpExplanations():
print("Transposon Classifier \"RFSB\" (v1.0, 2021, Kevin Riehl)")
print("")
print("USAGE")
print(" transposon_classifier_RFSB [-help] [-mode]")
print("")
print("MODE [1] \"classify\"")
print("(mandatory):")
print(" -fastaFile <String>")
print(" Fasta file containing DNA sequences")
print(" -outputPredictionFile <String>")
print(" Output prediction file containing classification results")
print("(optional):")
print(" -modelFile <String>")
print(" File containing model for classification, default: models/TE_Classifier_RFSB_models_ALL_Big.pickle")
print(" -kmerConfigFile <String>")
print(" Configuration file containing k-mers, default: config/kmers.txt")
print(" -proteinDBFile <String>")
print(" Configuration file containing NCBI CDD PSSM model IDs, default: config/RPSTBLASTN_LIB/db_large.pn")
print(" -tempFolder <String>")
print(" Folder in which temporary files are stored to, default: (folder of the outputFile)")
print(" -deleteTempFiles <String>")
print(" Whether to delete temporary feature files, default: True")
print("")
print("MODE [2] \"evaluate\"")
print("(mandatory):")
print(" -predLabelFile <String>")
print(" File containing predicted labels = classification results/output of MODE [1]")
print(" -trueLabelFile <String>")
print(" File containing true labels")
print("(optional):")
print(" -printResults <Boolean>")
print(" Whether to print results into console, default: True")
print(" -saveResultsCSV <Boolean>")
print(" Whether to save results as CSV file, default: True")
print(" -saveResultsPickle <Boolean>")
print(" Whether to save output as .pickle file, default: False")
print(" -outputPickleFile <String>")
print(" Desired Pickle output file containing statistics, default: predLabelFile+\"_results.pickle\"")
print(" -outputCSVFile <String>")
print(" Desired CSV output file containing statistics, default: predLabelFile+\"_results.csv\"")
print(" -generateDiagramPNG <Boolean>")
print(" Whether to render diagram and save as PNG, default: True")
print(" -generateDiagramSVG <Boolean>")
print(" Whether to render diagram and save as SVG, default: True")
print(" -diagTitle <String>")
print(" The rendered diagrams' title")
print(" -outputPNGFile <String>")
print(" Desired PNG output file for rendered diagram, default: predLabelFile+\"_diagram.png\"")
print(" -outputSVGFile <String>")
print(" Desired SVG output file for rendered diagram, default: predLabelFile+\"_diagram.svg\"")
print("")
print("MODE [3] \"trainModel\"")
print("(mandatory):")
print(" -fastaFile <String>")
print(" Fasta file containing DNA sequences")
print(" -labelFile <String>")
print(" Fasta file containing true class labels")
print(" -outputModelFile <String>")
print(" Desired path to store output model")
print("(optional):")
print(" -taxonomyConfigFile <String>")
print(" Configuration file containing the taxonomy scheme used, if not given taxonomy will automatically be generated from labels in labelFile, default: (none)")
print(" -proteinDBFile <String>")
print(" Configuration file containing NCBI CDD PSSM model IDs, default: config/RPSTBLASTN_LIB/db_large.pn")
print(" -kmerConfigFile <String>")
print(" Configuration file containing k-mers, default: config/kmers.txt")
print(" -eThreshold <Float>")
print(" e-Value threshold to consider RPSTBLASTN findings, default: 5.0")
print(" -tempFolder <String>")
print(" Folder in which temporary files are stored to, default: (folder of the outputFile)")
print(" -deleteTempFiles <Boolean>")
print(" Whether to delete temporary feature files, default: True")
print("")