SHEPHARD 0.2.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.
- shephard-0.2.0/LICENSE +57 -0
- shephard-0.2.0/MANIFEST.in +5 -0
- shephard-0.2.0/PKG-INFO +176 -0
- shephard-0.2.0/README.md +162 -0
- shephard-0.2.0/SHEPHARD.egg-info/PKG-INFO +176 -0
- shephard-0.2.0/SHEPHARD.egg-info/SOURCES.txt +104 -0
- shephard-0.2.0/SHEPHARD.egg-info/dependency_links.txt +1 -0
- shephard-0.2.0/SHEPHARD.egg-info/not-zip-safe +1 -0
- shephard-0.2.0/SHEPHARD.egg-info/requires.txt +5 -0
- shephard-0.2.0/SHEPHARD.egg-info/top_level.txt +1 -0
- shephard-0.2.0/pyproject.toml +61 -0
- shephard-0.2.0/setup.cfg +20 -0
- shephard-0.2.0/shephard/.DS_Store +0 -0
- shephard-0.2.0/shephard/__init__.py +31 -0
- shephard-0.2.0/shephard/_version.py +1 -0
- shephard-0.2.0/shephard/apis/__init__.py +13 -0
- shephard-0.2.0/shephard/apis/albatross_api.py +183 -0
- shephard-0.2.0/shephard/apis/fasta.py +418 -0
- shephard-0.2.0/shephard/apis/metapredict_api.py +312 -0
- shephard-0.2.0/shephard/apis/uniprot.py +157 -0
- shephard-0.2.0/shephard/data/README.md +21 -0
- shephard-0.2.0/shephard/data/look_and_say.dat +15 -0
- shephard-0.2.0/shephard/data/test_data/TS1_domains_idr.tsv +21 -0
- shephard-0.2.0/shephard/data/test_data/TS1_domains_idr_and_others.tsv +22 -0
- shephard-0.2.0/shephard/data/test_data/TS1_domains_pscore.tsv +2 -0
- shephard-0.2.0/shephard/data/test_data/TS1_protein_attributes.tsv +2 -0
- shephard-0.2.0/shephard/data/test_data/TS1_protein_attributes_several.tsv +5 -0
- shephard-0.2.0/shephard/data/test_data/TS1_sites.tsv +209 -0
- shephard-0.2.0/shephard/data/test_data/TS1_small_proteins.tsv +3 -0
- shephard-0.2.0/shephard/data/test_data/TS1_tracks_pscore.tsv +9 -0
- shephard-0.2.0/shephard/data/test_data/names.txt +9 -0
- shephard-0.2.0/shephard/data/test_data/seqs.fasta +98 -0
- shephard-0.2.0/shephard/data/test_data/testset_1.fasta +96 -0
- shephard-0.2.0/shephard/data/test_data/testset_1.fasta.fai +9 -0
- shephard-0.2.0/shephard/data/test_data/testset_1_ptms.tsv +3 -0
- shephard-0.2.0/shephard/data/test_data/ts1_bonus_sites.tsv +5 -0
- shephard-0.2.0/shephard/data/test_data/ts1_bonus_sites_bad.tsv +6 -0
- shephard-0.2.0/shephard/data/test_data/ts1_bonus_sites_bad2.tsv +5 -0
- shephard-0.2.0/shephard/data/test_data/tst.py +19 -0
- shephard-0.2.0/shephard/domain.py +594 -0
- shephard-0.2.0/shephard/exceptions.py +101 -0
- shephard-0.2.0/shephard/general_utilities.py +169 -0
- shephard-0.2.0/shephard/interfaces/__init__.py +15 -0
- shephard-0.2.0/shephard/interfaces/interface_tools.py +337 -0
- shephard-0.2.0/shephard/interfaces/si_domains.py +734 -0
- shephard-0.2.0/shephard/interfaces/si_protein_attributes.py +407 -0
- shephard-0.2.0/shephard/interfaces/si_proteins.py +360 -0
- shephard-0.2.0/shephard/interfaces/si_sites.py +476 -0
- shephard-0.2.0/shephard/interfaces/si_tracks.py +774 -0
- shephard-0.2.0/shephard/protein.py +2404 -0
- shephard-0.2.0/shephard/proteome.py +1364 -0
- shephard-0.2.0/shephard/sequence_utilities.py +73 -0
- shephard-0.2.0/shephard/site.py +596 -0
- shephard-0.2.0/shephard/test_domains_sites.py +21 -0
- shephard-0.2.0/shephard/tests/.ipynb_checkpoints/test_scratchpad-checkpoint.ipynb +33 -0
- shephard-0.2.0/shephard/tests/__init__.py +13 -0
- shephard-0.2.0/shephard/tests/conftest.py +110 -0
- shephard-0.2.0/shephard/tests/example_test_function.py +30 -0
- shephard-0.2.0/shephard/tests/output_test/all_symbols_test.tsv +2 -0
- shephard-0.2.0/shephard/tests/output_test/all_values_test.tsv +9 -0
- shephard-0.2.0/shephard/tests/output_test/all_values_test_from_list.tsv +9 -0
- shephard-0.2.0/shephard/tests/output_test/out_tracks.tsv +9 -0
- shephard-0.2.0/shephard/tests/output_test/readme.md +1 -0
- shephard-0.2.0/shephard/tests/output_test/shephard_track_phosres.tsv +1 -0
- shephard-0.2.0/shephard/tests/output_test/shephard_track_pscore.tsv +9 -0
- shephard-0.2.0/shephard/tests/output_test/test_domains.tsv +27 -0
- shephard-0.2.0/shephard/tests/output_test/test_domains_types.tsv +18 -0
- shephard-0.2.0/shephard/tests/output_test/test_sites.tsv +773 -0
- shephard-0.2.0/shephard/tests/output_test/track_phospho_track.tsv +1 -0
- shephard-0.2.0/shephard/tests/output_test/track_random_vals.tsv +1 -0
- shephard-0.2.0/shephard/tests/test_DomainInterface.py +33 -0
- shephard-0.2.0/shephard/tests/test_ProteinAttributesInterface.py +35 -0
- shephard-0.2.0/shephard/tests/test_ProteinInterface.py +27 -0
- shephard-0.2.0/shephard/tests/test_SiteInterface.py +36 -0
- shephard-0.2.0/shephard/tests/test_TrackInterface.py +46 -0
- shephard-0.2.0/shephard/tests/test_add_remove_annotations.py +115 -0
- shephard-0.2.0/shephard/tests/test_api_albatross.py +70 -0
- shephard-0.2.0/shephard/tests/test_api_metapredict.py +206 -0
- shephard-0.2.0/shephard/tests/test_apis_fasta.py +95 -0
- shephard-0.2.0/shephard/tests/test_attribute_tools.py +77 -0
- shephard-0.2.0/shephard/tests/test_domain_tools.py +258 -0
- shephard-0.2.0/shephard/tests/test_domains.py +254 -0
- shephard-0.2.0/shephard/tests/test_interfaces.py +23 -0
- shephard-0.2.0/shephard/tests/test_logic.py +0 -0
- shephard-0.2.0/shephard/tests/test_protein.py +298 -0
- shephard-0.2.0/shephard/tests/test_protein_site_functions.py +173 -0
- shephard-0.2.0/shephard/tests/test_proteome.py +157 -0
- shephard-0.2.0/shephard/tests/test_scratchpad.ipynb +455 -0
- shephard-0.2.0/shephard/tests/test_sequence_tools.py +45 -0
- shephard-0.2.0/shephard/tests/test_shephard.py +18 -0
- shephard-0.2.0/shephard/tests/test_si_domains.py +191 -0
- shephard-0.2.0/shephard/tests/test_si_sites.py +153 -0
- shephard-0.2.0/shephard/tests/test_si_tracks.py +538 -0
- shephard-0.2.0/shephard/tests/test_sites.py +42 -0
- shephard-0.2.0/shephard/tests/test_track_tools.py +89 -0
- shephard-0.2.0/shephard/tests/test_tracks.py +16 -0
- shephard-0.2.0/shephard/tools/__init__.py +15 -0
- shephard-0.2.0/shephard/tools/attribute_tools.py +99 -0
- shephard-0.2.0/shephard/tools/attribute_tools.py~ +94 -0
- shephard-0.2.0/shephard/tools/domain_tools.py +579 -0
- shephard-0.2.0/shephard/tools/experimental.py +74 -0
- shephard-0.2.0/shephard/tools/sequence_tools.py +108 -0
- shephard-0.2.0/shephard/tools/site_tools.py +107 -0
- shephard-0.2.0/shephard/tools/track_tools.py +126 -0
- shephard-0.2.0/shephard/track.py +480 -0
shephard-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
|
3
|
+
Version 3, 29 June 2007
|
|
4
|
+
|
|
5
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
6
|
+
|
|
7
|
+
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
|
8
|
+
|
|
9
|
+
This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
|
|
10
|
+
|
|
11
|
+
0. Additional Definitions.
|
|
12
|
+
As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License.
|
|
13
|
+
|
|
14
|
+
“The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
|
|
15
|
+
|
|
16
|
+
An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
|
|
17
|
+
|
|
18
|
+
A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”.
|
|
19
|
+
|
|
20
|
+
The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
|
|
21
|
+
|
|
22
|
+
The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
|
|
23
|
+
|
|
24
|
+
1. Exception to Section 3 of the GNU GPL.
|
|
25
|
+
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
|
|
26
|
+
|
|
27
|
+
2. Conveying Modified Versions.
|
|
28
|
+
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
|
|
29
|
+
|
|
30
|
+
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
|
|
31
|
+
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
|
|
32
|
+
3. Object Code Incorporating Material from Library Header Files.
|
|
33
|
+
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
|
|
34
|
+
|
|
35
|
+
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
|
|
36
|
+
b) Accompany the object code with a copy of the GNU GPL and this license document.
|
|
37
|
+
4. Combined Works.
|
|
38
|
+
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
|
|
39
|
+
|
|
40
|
+
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
|
|
41
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
|
|
42
|
+
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
|
|
43
|
+
d) Do one of the following:
|
|
44
|
+
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
|
|
45
|
+
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
|
|
46
|
+
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
|
|
47
|
+
5. Combined Libraries.
|
|
48
|
+
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
|
|
49
|
+
|
|
50
|
+
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
|
|
51
|
+
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
|
52
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
|
53
|
+
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
|
54
|
+
|
|
55
|
+
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
|
|
56
|
+
|
|
57
|
+
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
|
shephard-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: SHEPHARD
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Python package for organizing large sets of protein data
|
|
5
|
+
Author-email: Alex Holehouse <alex.holehouse@wustl.edu>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.7
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Requires-Dist: protfasta
|
|
12
|
+
Provides-Extra: test
|
|
13
|
+
Requires-Dist: pytest>=6.1.2; extra == "test"
|
|
14
|
+
|
|
15
|
+
SHEPHARD
|
|
16
|
+
==============================
|
|
17
|
+
#### Sequence-based Hierarchical and Extendable Platform for High-throughput Analysis of Region of Disorder
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Current major version: 0.1.21 (January 2024)
|
|
21
|
+
[//]: # (Badges)
|
|
22
|
+
[](https://readthedocs.org/projects/shephard/badge/?version=latest&style=for-the-badge)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## About
|
|
26
|
+
SHEPHARD is a Python toolkit for integrative proteome-wide analysis. It was written by Garrett Ginell and Alex Holehouse.
|
|
27
|
+
|
|
28
|
+
SHEPHARD enables you to read in protein sequence data and annotate it with different types of sequence annotations (Sites, Domains, and Tracks).
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
Copy and paste into your terminal:
|
|
33
|
+
|
|
34
|
+
pip install shephard
|
|
35
|
+
|
|
36
|
+
This installs the current stable release candidate from PyPi.
|
|
37
|
+
|
|
38
|
+
#### Installation from GitHub
|
|
39
|
+
|
|
40
|
+
Copy and paste into your terminal:
|
|
41
|
+
|
|
42
|
+
pip install shephard@git+git://github.com/holehouse-lab/shephard.git
|
|
43
|
+
|
|
44
|
+
This installs the current bleeding-edge version directly from GitHub.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
Online documentation for SHEPHARD can be found here:
|
|
49
|
+
|
|
50
|
+
[https://shephard.readthedocs.io/en/latest/](https://shephard.readthedocs.io/en/latest/)
|
|
51
|
+
|
|
52
|
+
## Tutorial Examples
|
|
53
|
+
Examples and Google Colab tutorials can be found here:
|
|
54
|
+
|
|
55
|
+
[https://github.com/holehouse-lab/shephard-colab](https://github.com/holehouse-lab/shephard-colab)
|
|
56
|
+
|
|
57
|
+
## Status
|
|
58
|
+
SHEPHARD is fully released, and the [SHEPHARD paper](http://dx.doi.org/10.1101/2022.09.18.508433) is out in Bioinformatics. Please cite SHEPHARD as:
|
|
59
|
+
|
|
60
|
+
Ginell, G. M., Flynn, A. J. & Holehouse, A. S. SHEPHARD: a modular and extensible software architecture for analyzing and annotating large protein datasets. Bioinformatics 39, (2023).
|
|
61
|
+
|
|
62
|
+
## Roadmap
|
|
63
|
+
SHEPHARD is the base code for a large body of sequence-based bioinformatic tools developed by the Holehouse lab. These include:
|
|
64
|
+
|
|
65
|
+
* [metapredict](https://github.com/idptools/metapredict) - high-performance disorder predictor [paper v1](http://dx.doi.org/10.1016/j.bpj.2021.08.039), [paper v2](http://dx.doi.org/10.1101/2022.06.06.494887), [paper v2-ff](http://dx.doi.org/10.1038/s41592-023-02159-5).
|
|
66
|
+
* [parrot](https://github.com/idptools/parrot) - a general tool for deep learning of sequence features [paper](http://dx.doi.org/10.7554/eLife.70576)
|
|
67
|
+
* [sparrow](https://github.com/idptools/sparrow) - a high-throughput tool for sequence analysis, including the [ALBATROSS networks](http://dx.doi.org/10.1038/s41592-023-02159-5) (*in development*)
|
|
68
|
+
* [goose](https://github.com/idptools/goose) - a general-purpose tool for the rational design of disordered protein sequences [paper](http://dx.doi.org/10.1101/2023.10.29.564547).
|
|
69
|
+
|
|
70
|
+
These tools together form the backbone of our informatics infrastructure, and SHEPHARD will contain direct or indirect API access to each of them (and various other tools).
|
|
71
|
+
|
|
72
|
+
## Change log
|
|
73
|
+
The Changelog below reports on changes as we updated SHEPHARD. Specific types of changes include **BUG FIXES**, **PERFORMANCE UPGRADES**, and **NEW FEATURES**, and these will be tagged as such.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
#### Version 0.1.21-patch (May 2024)
|
|
77
|
+
* We added the `albatross_api` module to apis, which lets you pass in a Proteome and annotate at either the protein level or domain level all sequence predicted Rg and Re values. Right now this does both but better granularity and tests will be added before the bump to 0.1.22
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
#### Version 0.1.21 (January 2024)
|
|
81
|
+
* BREAKING CHANGE: We renamed shephard.apis.metapredict to shephard.apis.metapredict_api to avoid namespace clashing with metapredict the package. This is of course avoidable by aliasing one/both, but this was poor design. Going forward, we will append _api to the end of api modules.
|
|
82
|
+
* Including import of metapredict_api from apis such that `from shephard.apis import metapredict_api` syntax works
|
|
83
|
+
* Removed batch_mode as a variable to consider in the metapredict_api functions; size-collect is the only mode supported in metapredict; if this changes we'll revisit things but for now no need to add additional confusion.
|
|
84
|
+
|
|
85
|
+
#### Version 0.1.20 (December 2023)
|
|
86
|
+
* Fixed a minor but where the `shephard.interfaces.si_proteins` interface required proteins to ALREADY be in the proteome which proteins were being added to, which makes no sense, so we removed this constraint.
|
|
87
|
+
|
|
88
|
+
#### Version 0.1.19 (November 2023)
|
|
89
|
+
* Added version requirement (3.7 to 3.11 inclusive)
|
|
90
|
+
* **PERFORMANCE UPGRADE**: Improved how large annotation files are parsed so we ONLY parse lines with unique IDs matching unique IDs in the associated Proteome we're annotating - massive improvement in performance when working with large (10,000 - 100,0000) annotation datasets. This should change nothing on the frontend or any of the behavior other than making SHEPHARD much faster for large datasets
|
|
91
|
+
* **PERFORMANCE UPGRADES** Changed some of the error message construction to avoid major overhead when many (1000s of sites) are added (specifically, we previously by default generated an error message that listed out all the sites in a protein when testing for a dictionary type in a Site construction line; this has been removed).
|
|
92
|
+
* Better error handling for interface classes (print only the first 10 errors if many lines are read incorrectly - avoids a situation where the wrong file causes GBs of out text)
|
|
93
|
+
* Added explicit tests for all internal Interface classes.
|
|
94
|
+
* Added documentation for Protein interface files (as missing previously)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
#### Version 0.1.18 (February 2023)
|
|
98
|
+
* Added defensive programming for writing sites and domains where if a `domain_type` or `site_type` variable is passed, we check explicitly that it's a list.
|
|
99
|
+
* Added ability to write_protein_attributes_from_dictionary (new function in `si_protein_attributes.py`.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
#### Version 0.1.17 (September 2022)
|
|
103
|
+
* **BUG FIX** Fixed bug in writing domains from list.
|
|
104
|
+
* Added import from apis module such that `from shephard import apis` now enables `apis.<module>` to work
|
|
105
|
+
|
|
106
|
+
#### Version 0.1.16 (September 2022)
|
|
107
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
108
|
+
* Improved documentation ahead of final release (including tools docs).
|
|
109
|
+
* Added ability to return sites as lists for all site acquisition functions in proteins and domains.
|
|
110
|
+
* Added much more detailed tests for site acquisition functions
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
#### Version 0.1.15 (September 2022)
|
|
114
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
115
|
+
|
|
116
|
+
#### Version 0.1.10 (September 2022)
|
|
117
|
+
* Major update
|
|
118
|
+
* Lots of new tests
|
|
119
|
+
* Enable sites to read/write if values = None without throwing an exception
|
|
120
|
+
* Fixed bug in writing sites from list
|
|
121
|
+
* **BREAKING CHANGE**: Changed `shephard.protein.get_residue()` to `shephard.protein.residue()`, inkeeping with style for other getter functions
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
#### Version 0.1.9 (September 2022)
|
|
125
|
+
* Major update
|
|
126
|
+
* Lots of new tests
|
|
127
|
+
* Added ability to write lists of sites and tracks (as we can with domains)
|
|
128
|
+
* Refactoring of interface writing code
|
|
129
|
+
* Added explicitly checks for domain, site, and track types when writing from lists of these objects
|
|
130
|
+
* Added `Track.symbol()` and `Track.value()` functions to extract a single symbol or value at a specific position.
|
|
131
|
+
* Updated documentation to include these new functions
|
|
132
|
+
* Updated tests to encompass new features
|
|
133
|
+
* Fixed bugs in exception handling
|
|
134
|
+
* **BREAKING CHANGE**: Changed `shephard.interfaces.si_tracks.write_track()` to `shephard.interfaces.si_tracks.write_tracks()` (i.e. plural) to match names from other functions
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
#### Version 0.1.8 (August 2022)
|
|
138
|
+
* Bug fix in `domain_tools.py` for identifying overlap between two domains
|
|
139
|
+
* Fixed inconsistencies in writing domains that led to trailing whitespace
|
|
140
|
+
* Fixed bugs in exception throwing code
|
|
141
|
+
* More tests
|
|
142
|
+
|
|
143
|
+
#### Version 0.1.7 (April 2022)
|
|
144
|
+
* Improved documentation
|
|
145
|
+
* Added domain_to_track() function in tools.track_tools
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
#### Version 0.1.5 (April 2022)
|
|
149
|
+
* First version released to PyPI
|
|
150
|
+
|
|
151
|
+
#### Version 0.1.4 (Feb 2022)
|
|
152
|
+
* Added ability to remove Tracks, Sites and Domains from a Protein objects
|
|
153
|
+
* Track number of unique domains, sites, and tracks rather than just their presence/absence
|
|
154
|
+
* Updated Track writing
|
|
155
|
+
* Added Tracks MUST be either symbolic or values-based but cannot be both
|
|
156
|
+
*
|
|
157
|
+
|
|
158
|
+
#### Version 0.1.3.1 (May 2021)
|
|
159
|
+
* Various bug fixes
|
|
160
|
+
* Improved performance
|
|
161
|
+
* Updated interfaces for reading/writing different types of files
|
|
162
|
+
* Major updates to internal docs
|
|
163
|
+
* This release should be considered largely stable, although docs are lacking
|
|
164
|
+
* Expanded the test suite
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Version 0.1.2.1 (August 2020)
|
|
168
|
+
**WARNING**: This version breaks backwards compatibility with prior versions!
|
|
169
|
+
|
|
170
|
+
* `protein.get_domains_by_type()` now returns a list of domains instead of a dictionary. This helps bring consistency to how domains are retrieved and moves us away from dictionary returning.
|
|
171
|
+
* Various internal updates
|
|
172
|
+
|
|
173
|
+
### Copyright
|
|
174
|
+
|
|
175
|
+
Copyright (c) 2019-2023, Garrett M. Ginell and Alex S. Holehouse - [Holehouse lab](http://holehouse.wustl.edu/)
|
|
176
|
+
|
shephard-0.2.0/README.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
SHEPHARD
|
|
2
|
+
==============================
|
|
3
|
+
#### Sequence-based Hierarchical and Extendable Platform for High-throughput Analysis of Region of Disorder
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Current major version: 0.1.21 (January 2024)
|
|
7
|
+
[//]: # (Badges)
|
|
8
|
+
[](https://readthedocs.org/projects/shephard/badge/?version=latest&style=for-the-badge)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## About
|
|
12
|
+
SHEPHARD is a Python toolkit for integrative proteome-wide analysis. It was written by Garrett Ginell and Alex Holehouse.
|
|
13
|
+
|
|
14
|
+
SHEPHARD enables you to read in protein sequence data and annotate it with different types of sequence annotations (Sites, Domains, and Tracks).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
Copy and paste into your terminal:
|
|
19
|
+
|
|
20
|
+
pip install shephard
|
|
21
|
+
|
|
22
|
+
This installs the current stable release candidate from PyPi.
|
|
23
|
+
|
|
24
|
+
#### Installation from GitHub
|
|
25
|
+
|
|
26
|
+
Copy and paste into your terminal:
|
|
27
|
+
|
|
28
|
+
pip install shephard@git+git://github.com/holehouse-lab/shephard.git
|
|
29
|
+
|
|
30
|
+
This installs the current bleeding-edge version directly from GitHub.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Documentation
|
|
34
|
+
Online documentation for SHEPHARD can be found here:
|
|
35
|
+
|
|
36
|
+
[https://shephard.readthedocs.io/en/latest/](https://shephard.readthedocs.io/en/latest/)
|
|
37
|
+
|
|
38
|
+
## Tutorial Examples
|
|
39
|
+
Examples and Google Colab tutorials can be found here:
|
|
40
|
+
|
|
41
|
+
[https://github.com/holehouse-lab/shephard-colab](https://github.com/holehouse-lab/shephard-colab)
|
|
42
|
+
|
|
43
|
+
## Status
|
|
44
|
+
SHEPHARD is fully released, and the [SHEPHARD paper](http://dx.doi.org/10.1101/2022.09.18.508433) is out in Bioinformatics. Please cite SHEPHARD as:
|
|
45
|
+
|
|
46
|
+
Ginell, G. M., Flynn, A. J. & Holehouse, A. S. SHEPHARD: a modular and extensible software architecture for analyzing and annotating large protein datasets. Bioinformatics 39, (2023).
|
|
47
|
+
|
|
48
|
+
## Roadmap
|
|
49
|
+
SHEPHARD is the base code for a large body of sequence-based bioinformatic tools developed by the Holehouse lab. These include:
|
|
50
|
+
|
|
51
|
+
* [metapredict](https://github.com/idptools/metapredict) - high-performance disorder predictor [paper v1](http://dx.doi.org/10.1016/j.bpj.2021.08.039), [paper v2](http://dx.doi.org/10.1101/2022.06.06.494887), [paper v2-ff](http://dx.doi.org/10.1038/s41592-023-02159-5).
|
|
52
|
+
* [parrot](https://github.com/idptools/parrot) - a general tool for deep learning of sequence features [paper](http://dx.doi.org/10.7554/eLife.70576)
|
|
53
|
+
* [sparrow](https://github.com/idptools/sparrow) - a high-throughput tool for sequence analysis, including the [ALBATROSS networks](http://dx.doi.org/10.1038/s41592-023-02159-5) (*in development*)
|
|
54
|
+
* [goose](https://github.com/idptools/goose) - a general-purpose tool for the rational design of disordered protein sequences [paper](http://dx.doi.org/10.1101/2023.10.29.564547).
|
|
55
|
+
|
|
56
|
+
These tools together form the backbone of our informatics infrastructure, and SHEPHARD will contain direct or indirect API access to each of them (and various other tools).
|
|
57
|
+
|
|
58
|
+
## Change log
|
|
59
|
+
The Changelog below reports on changes as we updated SHEPHARD. Specific types of changes include **BUG FIXES**, **PERFORMANCE UPGRADES**, and **NEW FEATURES**, and these will be tagged as such.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
#### Version 0.1.21-patch (May 2024)
|
|
63
|
+
* We added the `albatross_api` module to apis, which lets you pass in a Proteome and annotate at either the protein level or domain level all sequence predicted Rg and Re values. Right now this does both but better granularity and tests will be added before the bump to 0.1.22
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
#### Version 0.1.21 (January 2024)
|
|
67
|
+
* BREAKING CHANGE: We renamed shephard.apis.metapredict to shephard.apis.metapredict_api to avoid namespace clashing with metapredict the package. This is of course avoidable by aliasing one/both, but this was poor design. Going forward, we will append _api to the end of api modules.
|
|
68
|
+
* Including import of metapredict_api from apis such that `from shephard.apis import metapredict_api` syntax works
|
|
69
|
+
* Removed batch_mode as a variable to consider in the metapredict_api functions; size-collect is the only mode supported in metapredict; if this changes we'll revisit things but for now no need to add additional confusion.
|
|
70
|
+
|
|
71
|
+
#### Version 0.1.20 (December 2023)
|
|
72
|
+
* Fixed a minor but where the `shephard.interfaces.si_proteins` interface required proteins to ALREADY be in the proteome which proteins were being added to, which makes no sense, so we removed this constraint.
|
|
73
|
+
|
|
74
|
+
#### Version 0.1.19 (November 2023)
|
|
75
|
+
* Added version requirement (3.7 to 3.11 inclusive)
|
|
76
|
+
* **PERFORMANCE UPGRADE**: Improved how large annotation files are parsed so we ONLY parse lines with unique IDs matching unique IDs in the associated Proteome we're annotating - massive improvement in performance when working with large (10,000 - 100,0000) annotation datasets. This should change nothing on the frontend or any of the behavior other than making SHEPHARD much faster for large datasets
|
|
77
|
+
* **PERFORMANCE UPGRADES** Changed some of the error message construction to avoid major overhead when many (1000s of sites) are added (specifically, we previously by default generated an error message that listed out all the sites in a protein when testing for a dictionary type in a Site construction line; this has been removed).
|
|
78
|
+
* Better error handling for interface classes (print only the first 10 errors if many lines are read incorrectly - avoids a situation where the wrong file causes GBs of out text)
|
|
79
|
+
* Added explicit tests for all internal Interface classes.
|
|
80
|
+
* Added documentation for Protein interface files (as missing previously)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
#### Version 0.1.18 (February 2023)
|
|
84
|
+
* Added defensive programming for writing sites and domains where if a `domain_type` or `site_type` variable is passed, we check explicitly that it's a list.
|
|
85
|
+
* Added ability to write_protein_attributes_from_dictionary (new function in `si_protein_attributes.py`.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
#### Version 0.1.17 (September 2022)
|
|
89
|
+
* **BUG FIX** Fixed bug in writing domains from list.
|
|
90
|
+
* Added import from apis module such that `from shephard import apis` now enables `apis.<module>` to work
|
|
91
|
+
|
|
92
|
+
#### Version 0.1.16 (September 2022)
|
|
93
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
94
|
+
* Improved documentation ahead of final release (including tools docs).
|
|
95
|
+
* Added ability to return sites as lists for all site acquisition functions in proteins and domains.
|
|
96
|
+
* Added much more detailed tests for site acquisition functions
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
#### Version 0.1.15 (September 2022)
|
|
100
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
101
|
+
|
|
102
|
+
#### Version 0.1.10 (September 2022)
|
|
103
|
+
* Major update
|
|
104
|
+
* Lots of new tests
|
|
105
|
+
* Enable sites to read/write if values = None without throwing an exception
|
|
106
|
+
* Fixed bug in writing sites from list
|
|
107
|
+
* **BREAKING CHANGE**: Changed `shephard.protein.get_residue()` to `shephard.protein.residue()`, inkeeping with style for other getter functions
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
#### Version 0.1.9 (September 2022)
|
|
111
|
+
* Major update
|
|
112
|
+
* Lots of new tests
|
|
113
|
+
* Added ability to write lists of sites and tracks (as we can with domains)
|
|
114
|
+
* Refactoring of interface writing code
|
|
115
|
+
* Added explicitly checks for domain, site, and track types when writing from lists of these objects
|
|
116
|
+
* Added `Track.symbol()` and `Track.value()` functions to extract a single symbol or value at a specific position.
|
|
117
|
+
* Updated documentation to include these new functions
|
|
118
|
+
* Updated tests to encompass new features
|
|
119
|
+
* Fixed bugs in exception handling
|
|
120
|
+
* **BREAKING CHANGE**: Changed `shephard.interfaces.si_tracks.write_track()` to `shephard.interfaces.si_tracks.write_tracks()` (i.e. plural) to match names from other functions
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
#### Version 0.1.8 (August 2022)
|
|
124
|
+
* Bug fix in `domain_tools.py` for identifying overlap between two domains
|
|
125
|
+
* Fixed inconsistencies in writing domains that led to trailing whitespace
|
|
126
|
+
* Fixed bugs in exception throwing code
|
|
127
|
+
* More tests
|
|
128
|
+
|
|
129
|
+
#### Version 0.1.7 (April 2022)
|
|
130
|
+
* Improved documentation
|
|
131
|
+
* Added domain_to_track() function in tools.track_tools
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
#### Version 0.1.5 (April 2022)
|
|
135
|
+
* First version released to PyPI
|
|
136
|
+
|
|
137
|
+
#### Version 0.1.4 (Feb 2022)
|
|
138
|
+
* Added ability to remove Tracks, Sites and Domains from a Protein objects
|
|
139
|
+
* Track number of unique domains, sites, and tracks rather than just their presence/absence
|
|
140
|
+
* Updated Track writing
|
|
141
|
+
* Added Tracks MUST be either symbolic or values-based but cannot be both
|
|
142
|
+
*
|
|
143
|
+
|
|
144
|
+
#### Version 0.1.3.1 (May 2021)
|
|
145
|
+
* Various bug fixes
|
|
146
|
+
* Improved performance
|
|
147
|
+
* Updated interfaces for reading/writing different types of files
|
|
148
|
+
* Major updates to internal docs
|
|
149
|
+
* This release should be considered largely stable, although docs are lacking
|
|
150
|
+
* Expanded the test suite
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Version 0.1.2.1 (August 2020)
|
|
154
|
+
**WARNING**: This version breaks backwards compatibility with prior versions!
|
|
155
|
+
|
|
156
|
+
* `protein.get_domains_by_type()` now returns a list of domains instead of a dictionary. This helps bring consistency to how domains are retrieved and moves us away from dictionary returning.
|
|
157
|
+
* Various internal updates
|
|
158
|
+
|
|
159
|
+
### Copyright
|
|
160
|
+
|
|
161
|
+
Copyright (c) 2019-2023, Garrett M. Ginell and Alex S. Holehouse - [Holehouse lab](http://holehouse.wustl.edu/)
|
|
162
|
+
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: SHEPHARD
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Python package for organizing large sets of protein data
|
|
5
|
+
Author-email: Alex Holehouse <alex.holehouse@wustl.edu>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.7
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Requires-Dist: protfasta
|
|
12
|
+
Provides-Extra: test
|
|
13
|
+
Requires-Dist: pytest>=6.1.2; extra == "test"
|
|
14
|
+
|
|
15
|
+
SHEPHARD
|
|
16
|
+
==============================
|
|
17
|
+
#### Sequence-based Hierarchical and Extendable Platform for High-throughput Analysis of Region of Disorder
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Current major version: 0.1.21 (January 2024)
|
|
21
|
+
[//]: # (Badges)
|
|
22
|
+
[](https://readthedocs.org/projects/shephard/badge/?version=latest&style=for-the-badge)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## About
|
|
26
|
+
SHEPHARD is a Python toolkit for integrative proteome-wide analysis. It was written by Garrett Ginell and Alex Holehouse.
|
|
27
|
+
|
|
28
|
+
SHEPHARD enables you to read in protein sequence data and annotate it with different types of sequence annotations (Sites, Domains, and Tracks).
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
Copy and paste into your terminal:
|
|
33
|
+
|
|
34
|
+
pip install shephard
|
|
35
|
+
|
|
36
|
+
This installs the current stable release candidate from PyPi.
|
|
37
|
+
|
|
38
|
+
#### Installation from GitHub
|
|
39
|
+
|
|
40
|
+
Copy and paste into your terminal:
|
|
41
|
+
|
|
42
|
+
pip install shephard@git+git://github.com/holehouse-lab/shephard.git
|
|
43
|
+
|
|
44
|
+
This installs the current bleeding-edge version directly from GitHub.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
Online documentation for SHEPHARD can be found here:
|
|
49
|
+
|
|
50
|
+
[https://shephard.readthedocs.io/en/latest/](https://shephard.readthedocs.io/en/latest/)
|
|
51
|
+
|
|
52
|
+
## Tutorial Examples
|
|
53
|
+
Examples and Google Colab tutorials can be found here:
|
|
54
|
+
|
|
55
|
+
[https://github.com/holehouse-lab/shephard-colab](https://github.com/holehouse-lab/shephard-colab)
|
|
56
|
+
|
|
57
|
+
## Status
|
|
58
|
+
SHEPHARD is fully released, and the [SHEPHARD paper](http://dx.doi.org/10.1101/2022.09.18.508433) is out in Bioinformatics. Please cite SHEPHARD as:
|
|
59
|
+
|
|
60
|
+
Ginell, G. M., Flynn, A. J. & Holehouse, A. S. SHEPHARD: a modular and extensible software architecture for analyzing and annotating large protein datasets. Bioinformatics 39, (2023).
|
|
61
|
+
|
|
62
|
+
## Roadmap
|
|
63
|
+
SHEPHARD is the base code for a large body of sequence-based bioinformatic tools developed by the Holehouse lab. These include:
|
|
64
|
+
|
|
65
|
+
* [metapredict](https://github.com/idptools/metapredict) - high-performance disorder predictor [paper v1](http://dx.doi.org/10.1016/j.bpj.2021.08.039), [paper v2](http://dx.doi.org/10.1101/2022.06.06.494887), [paper v2-ff](http://dx.doi.org/10.1038/s41592-023-02159-5).
|
|
66
|
+
* [parrot](https://github.com/idptools/parrot) - a general tool for deep learning of sequence features [paper](http://dx.doi.org/10.7554/eLife.70576)
|
|
67
|
+
* [sparrow](https://github.com/idptools/sparrow) - a high-throughput tool for sequence analysis, including the [ALBATROSS networks](http://dx.doi.org/10.1038/s41592-023-02159-5) (*in development*)
|
|
68
|
+
* [goose](https://github.com/idptools/goose) - a general-purpose tool for the rational design of disordered protein sequences [paper](http://dx.doi.org/10.1101/2023.10.29.564547).
|
|
69
|
+
|
|
70
|
+
These tools together form the backbone of our informatics infrastructure, and SHEPHARD will contain direct or indirect API access to each of them (and various other tools).
|
|
71
|
+
|
|
72
|
+
## Change log
|
|
73
|
+
The Changelog below reports on changes as we updated SHEPHARD. Specific types of changes include **BUG FIXES**, **PERFORMANCE UPGRADES**, and **NEW FEATURES**, and these will be tagged as such.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
#### Version 0.1.21-patch (May 2024)
|
|
77
|
+
* We added the `albatross_api` module to apis, which lets you pass in a Proteome and annotate at either the protein level or domain level all sequence predicted Rg and Re values. Right now this does both but better granularity and tests will be added before the bump to 0.1.22
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
#### Version 0.1.21 (January 2024)
|
|
81
|
+
* BREAKING CHANGE: We renamed shephard.apis.metapredict to shephard.apis.metapredict_api to avoid namespace clashing with metapredict the package. This is of course avoidable by aliasing one/both, but this was poor design. Going forward, we will append _api to the end of api modules.
|
|
82
|
+
* Including import of metapredict_api from apis such that `from shephard.apis import metapredict_api` syntax works
|
|
83
|
+
* Removed batch_mode as a variable to consider in the metapredict_api functions; size-collect is the only mode supported in metapredict; if this changes we'll revisit things but for now no need to add additional confusion.
|
|
84
|
+
|
|
85
|
+
#### Version 0.1.20 (December 2023)
|
|
86
|
+
* Fixed a minor but where the `shephard.interfaces.si_proteins` interface required proteins to ALREADY be in the proteome which proteins were being added to, which makes no sense, so we removed this constraint.
|
|
87
|
+
|
|
88
|
+
#### Version 0.1.19 (November 2023)
|
|
89
|
+
* Added version requirement (3.7 to 3.11 inclusive)
|
|
90
|
+
* **PERFORMANCE UPGRADE**: Improved how large annotation files are parsed so we ONLY parse lines with unique IDs matching unique IDs in the associated Proteome we're annotating - massive improvement in performance when working with large (10,000 - 100,0000) annotation datasets. This should change nothing on the frontend or any of the behavior other than making SHEPHARD much faster for large datasets
|
|
91
|
+
* **PERFORMANCE UPGRADES** Changed some of the error message construction to avoid major overhead when many (1000s of sites) are added (specifically, we previously by default generated an error message that listed out all the sites in a protein when testing for a dictionary type in a Site construction line; this has been removed).
|
|
92
|
+
* Better error handling for interface classes (print only the first 10 errors if many lines are read incorrectly - avoids a situation where the wrong file causes GBs of out text)
|
|
93
|
+
* Added explicit tests for all internal Interface classes.
|
|
94
|
+
* Added documentation for Protein interface files (as missing previously)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
#### Version 0.1.18 (February 2023)
|
|
98
|
+
* Added defensive programming for writing sites and domains where if a `domain_type` or `site_type` variable is passed, we check explicitly that it's a list.
|
|
99
|
+
* Added ability to write_protein_attributes_from_dictionary (new function in `si_protein_attributes.py`.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
#### Version 0.1.17 (September 2022)
|
|
103
|
+
* **BUG FIX** Fixed bug in writing domains from list.
|
|
104
|
+
* Added import from apis module such that `from shephard import apis` now enables `apis.<module>` to work
|
|
105
|
+
|
|
106
|
+
#### Version 0.1.16 (September 2022)
|
|
107
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
108
|
+
* Improved documentation ahead of final release (including tools docs).
|
|
109
|
+
* Added ability to return sites as lists for all site acquisition functions in proteins and domains.
|
|
110
|
+
* Added much more detailed tests for site acquisition functions
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
#### Version 0.1.15 (September 2022)
|
|
114
|
+
* Update for [PyPI update](https://pypi.org/project/shephard/)
|
|
115
|
+
|
|
116
|
+
#### Version 0.1.10 (September 2022)
|
|
117
|
+
* Major update
|
|
118
|
+
* Lots of new tests
|
|
119
|
+
* Enable sites to read/write if values = None without throwing an exception
|
|
120
|
+
* Fixed bug in writing sites from list
|
|
121
|
+
* **BREAKING CHANGE**: Changed `shephard.protein.get_residue()` to `shephard.protein.residue()`, inkeeping with style for other getter functions
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
#### Version 0.1.9 (September 2022)
|
|
125
|
+
* Major update
|
|
126
|
+
* Lots of new tests
|
|
127
|
+
* Added ability to write lists of sites and tracks (as we can with domains)
|
|
128
|
+
* Refactoring of interface writing code
|
|
129
|
+
* Added explicitly checks for domain, site, and track types when writing from lists of these objects
|
|
130
|
+
* Added `Track.symbol()` and `Track.value()` functions to extract a single symbol or value at a specific position.
|
|
131
|
+
* Updated documentation to include these new functions
|
|
132
|
+
* Updated tests to encompass new features
|
|
133
|
+
* Fixed bugs in exception handling
|
|
134
|
+
* **BREAKING CHANGE**: Changed `shephard.interfaces.si_tracks.write_track()` to `shephard.interfaces.si_tracks.write_tracks()` (i.e. plural) to match names from other functions
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
#### Version 0.1.8 (August 2022)
|
|
138
|
+
* Bug fix in `domain_tools.py` for identifying overlap between two domains
|
|
139
|
+
* Fixed inconsistencies in writing domains that led to trailing whitespace
|
|
140
|
+
* Fixed bugs in exception throwing code
|
|
141
|
+
* More tests
|
|
142
|
+
|
|
143
|
+
#### Version 0.1.7 (April 2022)
|
|
144
|
+
* Improved documentation
|
|
145
|
+
* Added domain_to_track() function in tools.track_tools
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
#### Version 0.1.5 (April 2022)
|
|
149
|
+
* First version released to PyPI
|
|
150
|
+
|
|
151
|
+
#### Version 0.1.4 (Feb 2022)
|
|
152
|
+
* Added ability to remove Tracks, Sites and Domains from a Protein objects
|
|
153
|
+
* Track number of unique domains, sites, and tracks rather than just their presence/absence
|
|
154
|
+
* Updated Track writing
|
|
155
|
+
* Added Tracks MUST be either symbolic or values-based but cannot be both
|
|
156
|
+
*
|
|
157
|
+
|
|
158
|
+
#### Version 0.1.3.1 (May 2021)
|
|
159
|
+
* Various bug fixes
|
|
160
|
+
* Improved performance
|
|
161
|
+
* Updated interfaces for reading/writing different types of files
|
|
162
|
+
* Major updates to internal docs
|
|
163
|
+
* This release should be considered largely stable, although docs are lacking
|
|
164
|
+
* Expanded the test suite
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Version 0.1.2.1 (August 2020)
|
|
168
|
+
**WARNING**: This version breaks backwards compatibility with prior versions!
|
|
169
|
+
|
|
170
|
+
* `protein.get_domains_by_type()` now returns a list of domains instead of a dictionary. This helps bring consistency to how domains are retrieved and moves us away from dictionary returning.
|
|
171
|
+
* Various internal updates
|
|
172
|
+
|
|
173
|
+
### Copyright
|
|
174
|
+
|
|
175
|
+
Copyright (c) 2019-2023, Garrett M. Ginell and Alex S. Holehouse - [Holehouse lab](http://holehouse.wustl.edu/)
|
|
176
|
+
|