virallc 1.0.12__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.
virallc-1.0.12/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Chrispin Chaguza
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,128 @@
1
+ Metadata-Version: 2.4
2
+ Name: virallc
3
+ Version: 1.0.12
4
+ Summary: virallc: A Python package for consistent assignment of viral lineages
5
+ Author-email: Chrispin Chaguza <chrispin.chaguza@gmail.com>
6
+ Maintainer-email: Chrispin Chaguza <chrispin.chaguza@gmail.com>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2024 Chrispin Chaguza
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Project-URL: Homepage, https://github.com/ChrispinChaguza/virallc/
30
+ Project-URL: Repository, https://github.com/ChrispinChaguza/virallc.git
31
+ Project-URL: Issues, https://github.com/ChrispinChaguza/virallc/issues
32
+ Project-URL: Documentation, https://github.com/ChrispinChaguza/virallc/
33
+ Project-URL: Website, https://github.com/ChrispinChaguza/virallc
34
+ Keywords: Virus,Lineage,Strain typing,Lineage classification,Genotype,Sublineage,Genome
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: License :: OSI Approved :: MIT License
37
+ Classifier: Operating System :: OS Independent
38
+ Classifier: Development Status :: 4 - Beta
39
+ Classifier: Environment :: Console
40
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
41
+ Classifier: Intended Audience :: Science/Research
42
+ Requires-Python: >=3.8
43
+ Description-Content-Type: text/markdown
44
+ License-File: LICENSE
45
+ Requires-Dist: setuptools
46
+ Requires-Dist: toml
47
+ Requires-Dist: biopython
48
+ Requires-Dist: fsspec
49
+ Requires-Dist: pandas
50
+ Dynamic: license-file
51
+
52
+ # ViralLC: A package rapid assignment of viral lineage nomenclature
53
+
54
+ ## Get the source code
55
+ ```
56
+ git clone https://github.com/ChrispinChaguza/virallc.git
57
+ ```
58
+
59
+ ## About virallc
60
+
61
+ ## Setup
62
+
63
+ The easist way to install ViralLC is using Conda (upcoming!).
64
+ ```
65
+ conda install -c conda-forge virallc
66
+ conda install -c bioconda virallc
67
+ ```
68
+
69
+ Another way to download ViralLC from GitHub and then manually setup the environment for the package
70
+
71
+ ```
72
+ git clone https://github.com/ChrispinChaguza/virallc.git
73
+ cd virallc
74
+ ```
75
+
76
+ Install the requirement packages
77
+ ```
78
+ #conda env export > environment.yml
79
+ conda env create -n virallc -f environment.yml
80
+ ```
81
+
82
+ Follow the instructions below to build and install ViralLC
83
+
84
+ ```
85
+ python -m build
86
+ pip install --force-reinstall dist/virallc-*.whl
87
+ ```
88
+
89
+ ## Basic usage
90
+
91
+ The simplest way to run virallc is to provide a single or separate multiple input FASTA file containing a single or multiple rotavirus A sequences.
92
+ ```
93
+ virallc database --sequences input.fasta --output report.tsv
94
+ ```
95
+ Or using the following shorthand options
96
+ ```
97
+ virallc assign -s input.fasta -o report.tsv
98
+ ```
99
+
100
+ If you have multiple input FASTA files, you can run virallc as follows:
101
+ ```
102
+ virallc assign --sequences input1.fasta input2.fasta input3.fasta --output report.tsv
103
+ ```
104
+
105
+ When running virallc for the first time, it will automatically download and setup the virallc database in the home directory (~/db.rotavirus.lineages/). However, if new lineages or sublineages have been assigned, you can redownload and update your local database as follows:
106
+ ```
107
+ virallc assign --sequences input.fasta --output report.tsv --updatedb
108
+ ```
109
+
110
+ Or
111
+ ```
112
+ virallc assign -s input.fasta -o report.tsv -u
113
+ ```
114
+
115
+ By default the output report containing the lineage calls will be provided in tab-separated value (TSV) file. To change the format of the output file to comma-separate value (CSV) format, specify "--csv" or "-c" options as follows:
116
+ ```
117
+ virallc assign --sequences input.fasta --output report.tsv --csv
118
+ ```
119
+ Or
120
+ ```
121
+ virallc assign -s input.fasta -o report.tsv -c
122
+ ```
123
+
124
+ In addition, the user can specify "--nucseq" or "-n" option to show nucleotide sequences of the query and closest matching reference sequences in the output report. To silence the output on the terminal, specify
125
+ "--quiet" or "-q" option.
126
+
127
+ ## Cite
128
+ To be updated!
@@ -0,0 +1,77 @@
1
+ # ViralLC: A package rapid assignment of viral lineage nomenclature
2
+
3
+ ## Get the source code
4
+ ```
5
+ git clone https://github.com/ChrispinChaguza/virallc.git
6
+ ```
7
+
8
+ ## About virallc
9
+
10
+ ## Setup
11
+
12
+ The easist way to install ViralLC is using Conda (upcoming!).
13
+ ```
14
+ conda install -c conda-forge virallc
15
+ conda install -c bioconda virallc
16
+ ```
17
+
18
+ Another way to download ViralLC from GitHub and then manually setup the environment for the package
19
+
20
+ ```
21
+ git clone https://github.com/ChrispinChaguza/virallc.git
22
+ cd virallc
23
+ ```
24
+
25
+ Install the requirement packages
26
+ ```
27
+ #conda env export > environment.yml
28
+ conda env create -n virallc -f environment.yml
29
+ ```
30
+
31
+ Follow the instructions below to build and install ViralLC
32
+
33
+ ```
34
+ python -m build
35
+ pip install --force-reinstall dist/virallc-*.whl
36
+ ```
37
+
38
+ ## Basic usage
39
+
40
+ The simplest way to run virallc is to provide a single or separate multiple input FASTA file containing a single or multiple rotavirus A sequences.
41
+ ```
42
+ virallc database --sequences input.fasta --output report.tsv
43
+ ```
44
+ Or using the following shorthand options
45
+ ```
46
+ virallc assign -s input.fasta -o report.tsv
47
+ ```
48
+
49
+ If you have multiple input FASTA files, you can run virallc as follows:
50
+ ```
51
+ virallc assign --sequences input1.fasta input2.fasta input3.fasta --output report.tsv
52
+ ```
53
+
54
+ When running virallc for the first time, it will automatically download and setup the virallc database in the home directory (~/db.rotavirus.lineages/). However, if new lineages or sublineages have been assigned, you can redownload and update your local database as follows:
55
+ ```
56
+ virallc assign --sequences input.fasta --output report.tsv --updatedb
57
+ ```
58
+
59
+ Or
60
+ ```
61
+ virallc assign -s input.fasta -o report.tsv -u
62
+ ```
63
+
64
+ By default the output report containing the lineage calls will be provided in tab-separated value (TSV) file. To change the format of the output file to comma-separate value (CSV) format, specify "--csv" or "-c" options as follows:
65
+ ```
66
+ virallc assign --sequences input.fasta --output report.tsv --csv
67
+ ```
68
+ Or
69
+ ```
70
+ virallc assign -s input.fasta -o report.tsv -c
71
+ ```
72
+
73
+ In addition, the user can specify "--nucseq" or "-n" option to show nucleotide sequences of the query and closest matching reference sequences in the output report. To silence the output on the terminal, specify
74
+ "--quiet" or "-q" option.
75
+
76
+ ## Cite
77
+ To be updated!
@@ -0,0 +1,59 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+
4
+ [project]
5
+ name = "virallc"
6
+ version = "1.0.12"
7
+ authors = [
8
+ { name="Chrispin Chaguza", email="chrispin.chaguza@gmail.com" },
9
+ ]
10
+
11
+ maintainers = [
12
+ {name = "Chrispin Chaguza", email = "chrispin.chaguza@gmail.com"},
13
+ ]
14
+
15
+ description = "virallc: A Python package for consistent assignment of viral lineages"
16
+ readme = {file = "README.md", content-type = "text/markdown"}
17
+ license = {file = "LICENSE"}
18
+ requires-python = ">=3.8"
19
+ classifiers = [
20
+ "Programming Language :: Python :: 3",
21
+ "License :: OSI Approved :: MIT License",
22
+ "Operating System :: OS Independent",
23
+ "Development Status :: 4 - Beta",
24
+ "Environment :: Console",
25
+ "Topic :: Scientific/Engineering :: Bio-Informatics",
26
+ "Intended Audience :: Science/Research",
27
+ ]
28
+
29
+ keywords = ["Virus","Lineage","Strain typing","Lineage classification","Genotype","Sublineage","Genome"]
30
+ dependencies = [
31
+ "setuptools",
32
+ "toml",
33
+ "biopython",
34
+ "fsspec",
35
+ "pandas"
36
+ ]
37
+
38
+ [tool.setuptools.packages]
39
+ find = {}
40
+
41
+ [tool.setuptools]
42
+ py-modules = ["virallc.SeqLib.SeqLib","virallc"]
43
+
44
+ [project.scripts]
45
+ virallc = "virallc:main"
46
+ alnPairDist = "virallc.scripts.alnPairDist:main"
47
+ cleanFastaSeqs = "virallc.scripts.cleanFastaSeqs:main"
48
+ virallcLineageChecker = "virallc.scripts.virallcLineageChecker:main"
49
+ alnSeqCov = "virallc.scripts.alnSeqCov:main"
50
+ virallcClusters = "virallc.scripts.virallcClusters:main"
51
+ virallcClusters3L = "virallc.scripts.virallcClusters3L:main"
52
+
53
+ [project.urls]
54
+ Homepage = "https://github.com/ChrispinChaguza/virallc/"
55
+ Repository = "https://github.com/ChrispinChaguza/virallc.git"
56
+ Issues = "https://github.com/ChrispinChaguza/virallc/issues"
57
+ Documentation = "https://github.com/ChrispinChaguza/virallc/"
58
+ Website = "https://github.com/ChrispinChaguza/virallc"
59
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+