PyamilySeq 0.9.0__tar.gz → 1.0.0__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.
- pyamilyseq-1.0.0/PKG-INFO +17 -0
- pyamilyseq-1.0.0/README.md +2 -0
- {pyamilyseq-0.9.0 → pyamilyseq-1.0.0}/pyproject.toml +0 -1
- {pyamilyseq-0.9.0 → pyamilyseq-1.0.0}/setup.cfg +5 -9
- pyamilyseq-1.0.0/src/PyamilySeq.egg-info/PKG-INFO +17 -0
- pyamilyseq-1.0.0/src/PyamilySeq.egg-info/SOURCES.txt +9 -0
- pyamilyseq-1.0.0/src/PyamilySeq.egg-info/entry_points.txt +2 -0
- pyamilyseq-1.0.0/src/PyamilySeq.egg-info/top_level.txt +1 -0
- pyamilyseq-0.9.0/PKG-INFO +0 -345
- pyamilyseq-0.9.0/README.md +0 -329
- pyamilyseq-0.9.0/src/PyamilySeq/Cluster_Summary.py +0 -163
- pyamilyseq-0.9.0/src/PyamilySeq/Constants.py +0 -2
- pyamilyseq-0.9.0/src/PyamilySeq/Group_Splitter.py +0 -382
- pyamilyseq-0.9.0/src/PyamilySeq/PyamilySeq.py +0 -296
- pyamilyseq-0.9.0/src/PyamilySeq/PyamilySeq_Genus.py +0 -242
- pyamilyseq-0.9.0/src/PyamilySeq/PyamilySeq_Species.py +0 -287
- pyamilyseq-0.9.0/src/PyamilySeq/Seq_Combiner.py +0 -67
- pyamilyseq-0.9.0/src/PyamilySeq/__init__.py +0 -0
- pyamilyseq-0.9.0/src/PyamilySeq/clusterings.py +0 -362
- pyamilyseq-0.9.0/src/PyamilySeq/utils.py +0 -408
- pyamilyseq-0.9.0/src/PyamilySeq.egg-info/PKG-INFO +0 -345
- pyamilyseq-0.9.0/src/PyamilySeq.egg-info/SOURCES.txt +0 -20
- pyamilyseq-0.9.0/src/PyamilySeq.egg-info/entry_points.txt +0 -5
- pyamilyseq-0.9.0/src/PyamilySeq.egg-info/requires.txt +0 -1
- pyamilyseq-0.9.0/src/PyamilySeq.egg-info/top_level.txt +0 -1
- {pyamilyseq-0.9.0 → pyamilyseq-1.0.0}/LICENSE +0 -0
- {pyamilyseq-0.9.0 → pyamilyseq-1.0.0}/src/PyamilySeq.egg-info/dependency_links.txt +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: PyamilySeq
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: rORForise - A a tool to study read-level gene predictions.
|
|
5
|
+
Home-page: https://github.com/NickJD/rORForise
|
|
6
|
+
Author: Nicholas Dimonaco
|
|
7
|
+
Author-email: nicholas@dimonaco.co.uk
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/NickJD/rORForise/issues
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.6
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
# rORForise
|
|
17
|
+
Read-based gene coverage evaluation
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = PyamilySeq
|
|
3
|
-
version =
|
|
3
|
+
version = v1.0.0
|
|
4
4
|
author = Nicholas Dimonaco
|
|
5
5
|
author_email = nicholas@dimonaco.co.uk
|
|
6
|
-
description =
|
|
6
|
+
description = rORForise - A a tool to study read-level gene predictions.
|
|
7
7
|
long_description = file: README.md
|
|
8
8
|
long_description_content_type = text/markdown
|
|
9
|
-
url = https://github.com/NickJD/
|
|
9
|
+
url = https://github.com/NickJD/rORForise
|
|
10
10
|
project_urls =
|
|
11
|
-
Bug Tracker = https://github.com/NickJD/
|
|
11
|
+
Bug Tracker = https://github.com/NickJD/rORForise/issues
|
|
12
12
|
classifiers =
|
|
13
13
|
Programming Language :: Python :: 3
|
|
14
14
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -20,7 +20,6 @@ package_dir =
|
|
|
20
20
|
packages = find:
|
|
21
21
|
python_requires = >=3.6
|
|
22
22
|
install_requires =
|
|
23
|
-
levenshtein
|
|
24
23
|
|
|
25
24
|
[options.packages.find]
|
|
26
25
|
where = src
|
|
@@ -28,10 +27,7 @@ include = *
|
|
|
28
27
|
|
|
29
28
|
[options.entry_points]
|
|
30
29
|
console_scripts =
|
|
31
|
-
|
|
32
|
-
Seq-Combiner = PyamilySeq.Seq_Combiner:main
|
|
33
|
-
Group-Splitter = PyamilySeq.Group_Splitter:main
|
|
34
|
-
Cluster-Summary = PyamilySeq.Cluster_Summary:main
|
|
30
|
+
eval = rORForise.evaluate:main
|
|
35
31
|
|
|
36
32
|
[egg_info]
|
|
37
33
|
tag_build =
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: PyamilySeq
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: rORForise - A a tool to study read-level gene predictions.
|
|
5
|
+
Home-page: https://github.com/NickJD/rORForise
|
|
6
|
+
Author: Nicholas Dimonaco
|
|
7
|
+
Author-email: nicholas@dimonaco.co.uk
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/NickJD/rORForise/issues
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.6
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
# rORForise
|
|
17
|
+
Read-based gene coverage evaluation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
pyamilyseq-0.9.0/PKG-INFO
DELETED
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: PyamilySeq
|
|
3
|
-
Version: 0.9.0
|
|
4
|
-
Summary: PyamilySeq - A a tool to look for sequence-based gene groups identified by clustering methods such as CD-HIT, DIAMOND, BLAST or MMseqs2.
|
|
5
|
-
Home-page: https://github.com/NickJD/PyamilySeq
|
|
6
|
-
Author: Nicholas Dimonaco
|
|
7
|
-
Author-email: nicholas@dimonaco.co.uk
|
|
8
|
-
Project-URL: Bug Tracker, https://github.com/NickJD/PyamilySeq/issues
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Requires-Python: >=3.6
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
License-File: LICENSE
|
|
15
|
-
Requires-Dist: levenshtein
|
|
16
|
-
|
|
17
|
-
# PyamilySeq - !BETA!
|
|
18
|
-
**PyamilySeq** is a Python tool for clustering gene sequences into groups based on sequence similarity identified by tools such as CD-HIT, BLAST, DIAMOND or MMseqs2.
|
|
19
|
-
This work is an extension of the gene family / pangenome tool developed for the StORF-Reporter publication in NAR (https://doi.org/10.1093/nar/gkad814).
|
|
20
|
-
|
|
21
|
-
## Features
|
|
22
|
-
- **End-to-End**: PyamilySeq can take a directory of GFF+FASTA files, run CD-HIT for clustering and process the results.
|
|
23
|
-
- **Clustering input**: Supports input from CD-HIT formatted files as well as CSV and TSV edge lists (MMseqs2 and -outfmt 6 from BLAST/DIAMOND).
|
|
24
|
-
- **Reclustering**: Allows for the addition of new sequences post-initial clustering - Ensures continuity of contemporary clustering results and highlights impact of novel gene predictions.
|
|
25
|
-
- **'Genus Mode'**: Unlike other 'pangenome' tools, PyamilySeq can identify gene groups found across multiple genera as unique entities (see below).
|
|
26
|
-
- **Output**: Generates a 'Roary/Panaroo' formatted presence-absence CSV formatted file for downstream analysis.
|
|
27
|
-
- User-define species-/genus-wide gene groups - User has control over grouping parameters (core = 99/95% or min 6 genera etc).
|
|
28
|
-
- Aligns representative sequences using MAFFT.
|
|
29
|
-
- Output concatenated aligned sequences for tree building.
|
|
30
|
-
- Optionally output sequences of each separate identified gene group.
|
|
31
|
-
|
|
32
|
-
## Installation
|
|
33
|
-
PyamilySeq probably requires Python 3.6 or higher. Install using pip:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
pip install PyamilySeq
|
|
37
|
-
```
|
|
38
|
-
PyamilySeq is regularly updated with bugfixes and new features so to update to the newest version add '-U' to end of the pip install command.
|
|
39
|
-
## Example usage: Below are two examples of running PyamilySeq in its two main modes.
|
|
40
|
-
### 'Full Mode': Will conduct clustering of sequences with CD-HIT as part of PyamilySeq run
|
|
41
|
-
```
|
|
42
|
-
PyamilySeq -run_mode Full -group_mode Species -clustering_format CD-HIT -output_dir .../test_data/testing/Full
|
|
43
|
-
-input_type combined -input_dir .../test_data/genomes -name_split _combined.gff3 -pid 0.95 -len_diff 0.80 -a -w 99
|
|
44
|
-
```
|
|
45
|
-
### 'Partial Mode': Will take the output of a sequence clustering.
|
|
46
|
-
```
|
|
47
|
-
PyamilySeq -run_mode Partial -group_mode Species -clustering_format TSV -output_dir .../test_data/species/testing/Partial
|
|
48
|
-
-cluster_file .../test_data/species/MMseqs2/combined_Ensmbl_pep_cluster.tsv
|
|
49
|
-
-original_fasta .../test_data/species/combined_Ensmbl_cds.fasta -a -w 99 -verbose
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
#### Note: '-clustering_format TSV/CSV' requires input to be two in two columns as below (Same format as MMseqs2 tsv) - Genome name and sequence name are separated by '|'.
|
|
53
|
-
```
|
|
54
|
-
Escherichia_coli_110957|ENSB:lL-zIKt-gh0oSno Escherichia_coli_110957|ENSB:lL-zIKt-gh0oSno
|
|
55
|
-
Escherichia_coli_110957|ENSB:lL-zIKt-gh0oSno Escherichia_coli_113290|ENSB:2fj4rJ8e8Z9PNdX
|
|
56
|
-
Escherichia_coli_110957|ENSB:lL-zIKt-gh0oSno Escherichia_coli_b185|ENSB:G_PVe28-ej8q-3S
|
|
57
|
-
Escherichia_coli_110957|ENSB:TIZS9kbTvShDvyX Escherichia_coli_110957|ENSB:TIZS9kbTvShDvyX
|
|
58
|
-
```
|
|
59
|
-
### Example output:
|
|
60
|
-
```
|
|
61
|
-
Running PyamilySeq v0.9.0
|
|
62
|
-
Calculating Groups
|
|
63
|
-
Gene Groups:
|
|
64
|
-
First_core_99: 2682
|
|
65
|
-
First_core_95: 0
|
|
66
|
-
First_core_15: 3789
|
|
67
|
-
First_core_0: 6469
|
|
68
|
-
Total Number of First Gene Groups (Including Singletons): 12940
|
|
69
|
-
Outputting gene_presence_absence file
|
|
70
|
-
Outputting gene group FASTA files
|
|
71
|
-
Processing gene group alignment
|
|
72
|
-
Thank you for using PyamilySeq -- A detailed user manual can be found at https://github.com/NickJD/PyamilySeq
|
|
73
|
-
Please report any issues to: https://github.com/NickJD/PyamilySeq/issues
|
|
74
|
-
```
|
|
75
|
-
## Genus mode:
|
|
76
|
-
### In addition to "Species mode" (see above) which reports gene groups the same as pangenome tools such as Roary and Panaroo, Genus mode reports gene groups identified across multiple genera.
|
|
77
|
-
#### Example:
|
|
78
|
-
```
|
|
79
|
-
PyamilySeq -run_mode Partial -group_mode Genus -clustering_format CD-HIT -output_dir .../test_data/genus/testing/
|
|
80
|
-
-cluster_file .../test_data/genus/CD-HIT/combined_cds_cd-hit_80_60.clstr -gpa
|
|
81
|
-
```
|
|
82
|
-
```commandline
|
|
83
|
-
Running PyamilySeq v0.9.0
|
|
84
|
-
Calculating Groups
|
|
85
|
-
Genus Groups:
|
|
86
|
-
First_genera_1: 28549
|
|
87
|
-
First_genera_2: 12
|
|
88
|
-
First_genera_3: 0
|
|
89
|
-
First_genera_>: 0
|
|
90
|
-
Total Number of First Gene Groups (Including Singletons): 28561
|
|
91
|
-
Outputting gene_presence_absence file
|
|
92
|
-
Thank you for using PyamilySeq -- A detailed user manual can be found at https://github.com/NickJD/PyamilySeq
|
|
93
|
-
Please report any issues to: https://github.com/NickJD/PyamilySeq/issues
|
|
94
|
-
#####
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## Reclustering:
|
|
98
|
-
### Reclustering can be used to see where additional sequences/genes lay in relation to a contemporary pangenome/gene grouping.
|
|
99
|
-
```
|
|
100
|
-
PyamilySeq -run_mode Partial -group_mode Species -clustering_format CD-HIT -output_dir .../test_data/species/CD-HIT/testing
|
|
101
|
-
-cluster_file .../test_data/species/CD-HIT/E-coli_extracted_cds_cd-hit_80_60.clstr -gpa
|
|
102
|
-
-reclustered .../test_data/species/CD-HIT/E-coli_extracted_cds_cd-hit_80_60_And_StORFs_cds_80_60.clstr
|
|
103
|
-
```
|
|
104
|
-
#### As can be seen below, the additional sequences recovered by the StORF-Reporter annotation tool have 'extended' contemporary or created entirely new gene groups. 'First' corresponds to the groups identified from the first clustering round and 'Second' for the second. In 'reclustering' mode, First_core_# groups are unaffected thus retaining the initial grouping information.
|
|
105
|
-
```commandline
|
|
106
|
-
Calculating Groups
|
|
107
|
-
Gene Groups:
|
|
108
|
-
First_core_99: 587
|
|
109
|
-
First_core_95: 1529
|
|
110
|
-
First_core_15: 3708
|
|
111
|
-
First_core_0: 29992
|
|
112
|
-
extended_core_99: 29
|
|
113
|
-
extended_core_95: 67
|
|
114
|
-
extended_core_15: 431
|
|
115
|
-
extended_core_0: 1331
|
|
116
|
-
combined_core_99: 2
|
|
117
|
-
combined_core_95: 4
|
|
118
|
-
combined_core_15: 5
|
|
119
|
-
combined_core_0: 4
|
|
120
|
-
Second_core_99: 0
|
|
121
|
-
Second_core_95: 6
|
|
122
|
-
Second_core_15: 172
|
|
123
|
-
Second_core_0: 1825
|
|
124
|
-
only_Second_core_99: 53
|
|
125
|
-
only_Second_core_95: 493
|
|
126
|
-
only_Second_core_15: 3806
|
|
127
|
-
only_Second_core_0: 27569
|
|
128
|
-
Total Number of First Gene Groups (Including Singletons): 35816
|
|
129
|
-
Total Number of Second Gene Groups (Including Singletons): 67728
|
|
130
|
-
Total Number of First Gene Groups That Had Additional Second Sequences But Not New Genomes: 136
|
|
131
|
-
Outputting gene_presence_absence file
|
|
132
|
-
Thank you for using PyamilySeq -- A detailed user manual can be found at https://github.com/NickJD/PyamilySeq
|
|
133
|
-
Please report any issues to: https://github.com/NickJD/PyamilySeq/issues
|
|
134
|
-
#####
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
## PyamilySeq - Menu:
|
|
138
|
-
### PyamilySeq is separated into two main 'run modes', Full and Partial. They each have their own set of required and optional arguments.
|
|
139
|
-
```
|
|
140
|
-
Running PyamilySeq v0.9.0
|
|
141
|
-
usage: PyamilySeq.py [-h] -run_mode {Full,Partial} -group_mode {Species,Genus} -clustering_format {CD-HIT,TSV,CSV} -output_dir OUTPUT_DIR
|
|
142
|
-
[-input_type {separate,combined}] [-input_dir INPUT_DIR] [-name_split NAME_SPLIT] [-sequence_type {AA,DNA}] [-gene_ident GENE_IDENT]
|
|
143
|
-
[-pid PIDENT] [-len_diff LEN_DIFF] [-mem CLUSTERING_MEMORY] [-t CLUSTERING_THREADS] [-cluster_file CLUSTER_FILE]
|
|
144
|
-
[-reclustered RECLUSTERED] [-seq_tag SEQUENCE_TAG] [-core_groups CORE_GROUPS] [-genus_groups GENUS_GROUPS] [-w WRITE_GROUPS] [-a]
|
|
145
|
-
[-original_fasta ORIGINAL_FASTA] [-gpa] [-verbose] [-v]
|
|
146
|
-
|
|
147
|
-
PyamilySeq v0.9.0: A tool that groups genes into unique clusters.
|
|
148
|
-
|
|
149
|
-
options:
|
|
150
|
-
-h, --help show this help message and exit
|
|
151
|
-
|
|
152
|
-
Required Arguments:
|
|
153
|
-
-run_mode {Full,Partial}
|
|
154
|
-
Run Mode: Should PyamilySeq be run in "Full" or "Partial" mode?
|
|
155
|
-
-group_mode {Species,Genus}
|
|
156
|
-
Group Mode: Should PyamilySeq be run in "Species" or "Genus" mode?
|
|
157
|
-
-clustering_format {CD-HIT,TSV,CSV}
|
|
158
|
-
Clustering format to use: CD-HIT or TSV (MMseqs2, BLAST, DIAMOND) / CSV edge-list file (Node1 Node2).
|
|
159
|
-
-output_dir OUTPUT_DIR
|
|
160
|
-
Directory for all output files.
|
|
161
|
-
|
|
162
|
-
Full-Mode Arguments - Required when "-run_mode Full" is used:
|
|
163
|
-
-input_type {separate,combined}
|
|
164
|
-
Type of input files: 'separate' for separate FASTA and GFF files, 'combined' for GFF files with embedded FASTA sequences.
|
|
165
|
-
-input_dir INPUT_DIR Directory containing GFF/FASTA files.
|
|
166
|
-
-name_split NAME_SPLIT
|
|
167
|
-
substring used to split the filename and extract the genome name ('_combined.gff3' or '.gff').
|
|
168
|
-
-sequence_type {AA,DNA}
|
|
169
|
-
Default - DNA: Should clustering be performed in "DNA" or "AA" mode?
|
|
170
|
-
-gene_ident GENE_IDENT
|
|
171
|
-
Identifier used for extraction of sequences such as
|
|
172
|
-
"misc_RNA,gene,mRNA,CDS,rRNA,tRNA,tmRNA,CRISPR,ncRNA,regulatory_region,oriC,pseudo"
|
|
173
|
-
-pid PIDENT Default 0.95: Pident threshold for clustering.
|
|
174
|
-
-len_diff LEN_DIFF Default 0.80: Minimum length difference between clustered sequences - (-s) threshold for CD-HIT clustering.
|
|
175
|
-
|
|
176
|
-
Clustering Runtime Arguments - Optional when "-run_mode Full" is used:
|
|
177
|
-
-mem CLUSTERING_MEMORY
|
|
178
|
-
Default 4000: Memory to be allocated for clustering (in MBs).
|
|
179
|
-
-t THREADS Default 8: Threads to be allocated for clustering
|
|
180
|
-
and/or alignment.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Partial-Mode Arguments - Required when "-run_mode Partial" is used:
|
|
184
|
-
-cluster_file CLUSTER_FILE
|
|
185
|
-
Clustering output file containing CD-HIT, TSV or CSV Edge List
|
|
186
|
-
|
|
187
|
-
Grouping Arguments - Use to fine-tune grouping of genes after clustering:
|
|
188
|
-
-reclustered RECLUSTERED
|
|
189
|
-
Currently only works on Partial Mode: Clustering output file from secondary round of clustering.
|
|
190
|
-
-seq_tag SEQUENCE_TAG
|
|
191
|
-
Default - "StORF": Unique identifier to be used to distinguish the second of two rounds of clustered sequences
|
|
192
|
-
-core_groups CORE_GROUPS
|
|
193
|
-
Default - ('99,95,15'): Gene family groups to use for "Species" mode
|
|
194
|
-
-genus_groups GENUS_GROUPS
|
|
195
|
-
Default - ('1,2,3,4,5,6'): Gene family groups to use for "Genus" mode
|
|
196
|
-
|
|
197
|
-
Output Parameters:
|
|
198
|
-
-w WRITE_GROUPS Default - No output: Output sequences of identified groups (provide levels at which to output - Species "-w 99,95" Genus "-w 2,3" -
|
|
199
|
-
Must provide FASTA file with -original_fasta if in Partial run mode.
|
|
200
|
-
-a Default - No output: SLOW! (Only works for Species mode) Output aligned and concatinated sequences of identified groups -provide
|
|
201
|
-
group levels at which to output "-w 99,95" - Must provide FASTA file with -original_fasta in Partialrun mode.
|
|
202
|
-
-original_fasta ORIGINAL_FASTA
|
|
203
|
-
FASTA file to use in conjunction with "-w" or "-con" when running in Partial Mode.
|
|
204
|
-
-no_gpa Do not create a Roary/Panaroo formatted gene_presence_absence.csv (created by default) - Required for Coinfinder and other
|
|
205
|
-
downstream tools
|
|
206
|
-
|
|
207
|
-
Misc Parameters:
|
|
208
|
-
-verbose Print verbose output.
|
|
209
|
-
-v, --version Print out version number and exit
|
|
210
|
-
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
## Seq-Combiner: This tool is provided to enable the pre-processing of multiple GFF/FASTA files together ready to be clustered by the user.
|
|
218
|
-
### Example:
|
|
219
|
-
```bash
|
|
220
|
-
Seq-Combiner -input_dir .../test_data/genomes -name_split .gff3 -output_dir .../test_data/genomes -output_name combine_fasta_seqs.fa -input_type combined
|
|
221
|
-
```
|
|
222
|
-
### Seq-Combiner Menu:
|
|
223
|
-
```
|
|
224
|
-
usage: Seq_Combiner.py [-h] -input_dir INPUT_DIR -input_type {separate,combined,fasta} -name_split NAME_SPLIT -output_dir OUTPUT_DIR -output_name
|
|
225
|
-
OUTPUT_FILE [-gene_ident GENE_IDENT] [-translate] [-v]
|
|
226
|
-
|
|
227
|
-
PyamilySeq v0.9.0: Seq-Combiner - A tool to extract sequences from GFF/FASTA files and prepare them for PyamilySeq.
|
|
228
|
-
|
|
229
|
-
options:
|
|
230
|
-
-h, --help show this help message and exit
|
|
231
|
-
|
|
232
|
-
Required Arguments:
|
|
233
|
-
-input_dir INPUT_DIR Directory location where the files are located.
|
|
234
|
-
-input_type {separate,combined,fasta}
|
|
235
|
-
Type of input files: "separate" for separate FASTA and GFF files, "combined" for GFF files with embedded FASTA sequences and "fasta"
|
|
236
|
-
for combining multiple FASTA files together.
|
|
237
|
-
-name_split NAME_SPLIT
|
|
238
|
-
substring used to split the filename and extract the genome name ('_combined.gff3' or '.gff').
|
|
239
|
-
-output_dir OUTPUT_DIR
|
|
240
|
-
Directory for all output files.
|
|
241
|
-
-output_name OUTPUT_FILE
|
|
242
|
-
Output file name.
|
|
243
|
-
|
|
244
|
-
Optional Arguments:
|
|
245
|
-
-gene_ident GENE_IDENT
|
|
246
|
-
Default - "CDS": Identifier used for extraction of sequences such as
|
|
247
|
-
"misc_RNA,gene,mRNA,CDS,rRNA,tRNA,tmRNA,CRISPR,ncRNA,regulatory_region,oriC,pseudo" - Not compatible with "fasta" input mode.
|
|
248
|
-
-translate Default - False: Translate extracted sequences to their AA counterpart?
|
|
249
|
-
|
|
250
|
-
Misc Arguments:
|
|
251
|
-
-v, --version Print out version number and exit
|
|
252
|
-
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
## Group-Splitter: This tool can split multi-copy gene groups using CD-HIT after initial PyamilySeq analysis.
|
|
256
|
-
### Example:
|
|
257
|
-
```bash
|
|
258
|
-
Group-Splitter -genome_num 74 -input_fasta .../test/species/ -output_dir .../test/species/ -sequence_type AA
|
|
259
|
-
```
|
|
260
|
-
### Group-Splitter Menu:
|
|
261
|
-
```
|
|
262
|
-
usage: Group_Splitter.py [-h] -input_fasta INPUT_FASTA -sequence_type {AA,DNA}
|
|
263
|
-
-genome_num GENOME_NUM -output_dir OUTPUT_DIR
|
|
264
|
-
[-groups GROUPS] [-group_threshold GROUP_THRESHOLD]
|
|
265
|
-
[-c PIDENT] [-s LEN_DIFF] [-T CLUSTERING_THREADS]
|
|
266
|
-
[-M CLUSTERING_MEMORY] [-no_delete_temp_files]
|
|
267
|
-
[-verbose] [-v]
|
|
268
|
-
|
|
269
|
-
PyamilySeq v0.9.0: Group-Splitter - A tool to split multi-copy gene groups
|
|
270
|
-
identified by PyamilySeq.
|
|
271
|
-
|
|
272
|
-
options:
|
|
273
|
-
-h, --help show this help message and exit
|
|
274
|
-
|
|
275
|
-
Required Parameters:
|
|
276
|
-
-input_fasta INPUT_FASTA
|
|
277
|
-
Input FASTA file containing gene groups.
|
|
278
|
-
-sequence_type {AA,DNA}
|
|
279
|
-
Default - DNA: Are groups "DNA" or "AA" sequences?
|
|
280
|
-
-genome_num GENOME_NUM
|
|
281
|
-
The total number of genomes must be provide
|
|
282
|
-
-output_dir OUTPUT_DIR
|
|
283
|
-
Output directory.
|
|
284
|
-
|
|
285
|
-
Regrouping Parameters:
|
|
286
|
-
-groups GROUPS Default - auto: Detect groups to be split (see
|
|
287
|
-
-group_threshold). Provide "-groups 1,2,3,4" with
|
|
288
|
-
group IDs to split specific groups.
|
|
289
|
-
-group_threshold GROUP_THRESHOLD
|
|
290
|
-
Minimum percentage of genomes with multi-copy
|
|
291
|
-
(default: 80.0) - Does not work with "-groups"
|
|
292
|
-
|
|
293
|
-
CD-HIT Reclustering Parameters:
|
|
294
|
-
-c PIDENT Sequence identity threshold (default: 0.8) - Probably
|
|
295
|
-
should be higher than what was used in initial
|
|
296
|
-
clustering.
|
|
297
|
-
-s LEN_DIFF Length difference cutoff (default: 0.20) - Often the
|
|
298
|
-
most impactful parameter to split 'multi-copy' gene
|
|
299
|
-
groups.
|
|
300
|
-
-T CLUSTERING_THREADS
|
|
301
|
-
Number of threads for clustering (default: 4)
|
|
302
|
-
-M CLUSTERING_MEMORY Memory limit in MB for clustering (default: 2000)
|
|
303
|
-
|
|
304
|
-
Misc Parameters:
|
|
305
|
-
-no_delete_temp_files
|
|
306
|
-
Default: Delete all temporary files after processing.
|
|
307
|
-
-verbose Print verbose output.
|
|
308
|
-
-v, --version Print out version number and exit
|
|
309
|
-
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
## Cluster-Summary menu: This tool can be used to summarise CD-HIT .clstr files:
|
|
313
|
-
### Example:
|
|
314
|
-
```bash
|
|
315
|
-
Cluster-Summary -genome_num 74 -input_clstr .../test_data/species/E-coli/E-coli_extracted_pep_cd-hit_80.clstr -output_tsv .../test_data/species/E-coli/E-coli_extracted_pep_cd-hit_80_Summary.tsv
|
|
316
|
-
```
|
|
317
|
-
### Cluster-Summary Menu:
|
|
318
|
-
```
|
|
319
|
-
usage: Cluster_Summary.py [-h] -input_clstr INPUT_CLSTR -output OUTPUT -genome_num GENOME_NUM
|
|
320
|
-
[-output_dir OUTPUT_DIR] [-verbose] [-v]
|
|
321
|
-
|
|
322
|
-
PyamilySeq v0.9.0: Cluster-Summary - A tool to summarise CD-HIT clustering files.
|
|
323
|
-
|
|
324
|
-
options:
|
|
325
|
-
-h, --help show this help message and exit
|
|
326
|
-
|
|
327
|
-
Required Parameters:
|
|
328
|
-
-input_clstr INPUT_CLSTR
|
|
329
|
-
Input CD-HIT .clstr file
|
|
330
|
-
-output OUTPUT Output TSV file to store cluster summaries - Will add '.tsv' if not
|
|
331
|
-
provided by user
|
|
332
|
-
-genome_num GENOME_NUM
|
|
333
|
-
The total number of genomes must be provide
|
|
334
|
-
|
|
335
|
-
Optional Arguments:
|
|
336
|
-
-output_dir OUTPUT_DIR
|
|
337
|
-
Default: Same as input file
|
|
338
|
-
|
|
339
|
-
Misc Parameters:
|
|
340
|
-
-verbose Print verbose output.
|
|
341
|
-
-v, --version Print out version number and exit
|
|
342
|
-
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
### All example input and output data can be found in the 'test_data' directory.
|