deciphon-snap


Namedeciphon-snap JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummaryReader for Deciphon snap files.
upload_time2024-10-31 16:12:46
maintainerNone
docs_urlNone
authorDanilo Horta
requires_python<4.0,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # deciphon-snap

## Example

```python
from deciphon_snap.read_snap import read_snap

snap_file = read_snap("example.dcs")
print(snap_file)
```

```
shape: (470, 7)
┌────────┬────────────┬─────┬─────────────┬─────────────┬─────────────┬───────────────────────────────────┐
│ seq_id │ profile    │ abc │ alt         │ null        │ evalue      │ match_list                        │
├────────┼────────────┼─────┼─────────────┼─────────────┼─────────────┼───────────────────────────────────┤
│ 0      │ PF00004.32 │ dna │ -1849.56006 │ -1850.08313 │ -13.8193617 │ (∅,S,∅,∅) (ATG,N,ATG,M) (CGA,N,C… │
│ 0      │ PF03969.19 │ dna │ -1853.90649 │ -1850.08313 │ -16.1090849 │ (∅,S,∅,∅) (ATG,N,ATG,M) (CGA,N,C… │
│ 0      │ PF00308.21 │ dna │ -1679.86353 │ -1850.08313 │ -193.97191  │ (∅,S,∅,∅) (ATG,N,ATG,M) (CGA,N,C… │
│ 0      │ PF08299.14 │ dna │ -1789.81091 │ -1850.08313 │ -71.2547802 │ (∅,S,∅,∅) (ATG,N,ATG,M) (CGA,N,C… │
│ …      │ …          │ …   │ …           │ …           │ …           │ …                                 │
│ 272    │ PF02371.19 │ dna │ -1385.17554 │ -1422.72034 │ -51.5481154 │ (∅,S,∅,∅) (ATG,N,ATG,M) (CAC,N,C… │
│ 295    │ PF01170.21 │ dna │ -2005.65234 │ -2003.75269 │ -12.6652124 │ (∅,S,∅,∅) (ATG,N,ATG,M) (TTC,N,T… │
│ 300    │ PF00750.22 │ dna │ -2282.74487 │ -2298.92017 │ -48.1403459 │ (∅,S,∅,∅) (ATG,N,ATG,M) (TTT,N,T… │
│ 302    │ PF13462.9  │ dna │ -855.013794 │ -853.616028 │ -16.6152838 │ (∅,S,∅,∅) (ATG,N,ATG,M) (AAA,N,A… │
└────────┴────────────┴─────┴─────────────┴─────────────┴─────────────┴───────────────────────────────────┘
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "deciphon-snap",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Danilo Horta",
    "author_email": "horta@ebi.ac.uk",
    "download_url": "https://files.pythonhosted.org/packages/b4/c5/cc4bfdd94a3f57964852b45ccc0d1202cb81d74bdc75dbf893c5143791bc/deciphon_snap-1.0.2.tar.gz",
    "platform": null,
    "description": "# deciphon-snap\n\n## Example\n\n```python\nfrom deciphon_snap.read_snap import read_snap\n\nsnap_file = read_snap(\"example.dcs\")\nprint(snap_file)\n```\n\n```\nshape: (470, 7)\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 seq_id \u2502 profile    \u2502 abc \u2502 alt         \u2502 null        \u2502 evalue      \u2502 match_list                        \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 0      \u2502 PF00004.32 \u2502 dna \u2502 -1849.56006 \u2502 -1850.08313 \u2502 -13.8193617 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (CGA,N,C\u2026 \u2502\n\u2502 0      \u2502 PF03969.19 \u2502 dna \u2502 -1853.90649 \u2502 -1850.08313 \u2502 -16.1090849 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (CGA,N,C\u2026 \u2502\n\u2502 0      \u2502 PF00308.21 \u2502 dna \u2502 -1679.86353 \u2502 -1850.08313 \u2502 -193.97191  \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (CGA,N,C\u2026 \u2502\n\u2502 0      \u2502 PF08299.14 \u2502 dna \u2502 -1789.81091 \u2502 -1850.08313 \u2502 -71.2547802 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (CGA,N,C\u2026 \u2502\n\u2502 \u2026      \u2502 \u2026          \u2502 \u2026   \u2502 \u2026           \u2502 \u2026           \u2502 \u2026           \u2502 \u2026                                 \u2502\n\u2502 272    \u2502 PF02371.19 \u2502 dna \u2502 -1385.17554 \u2502 -1422.72034 \u2502 -51.5481154 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (CAC,N,C\u2026 \u2502\n\u2502 295    \u2502 PF01170.21 \u2502 dna \u2502 -2005.65234 \u2502 -2003.75269 \u2502 -12.6652124 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (TTC,N,T\u2026 \u2502\n\u2502 300    \u2502 PF00750.22 \u2502 dna \u2502 -2282.74487 \u2502 -2298.92017 \u2502 -48.1403459 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (TTT,N,T\u2026 \u2502\n\u2502 302    \u2502 PF13462.9  \u2502 dna \u2502 -855.013794 \u2502 -853.616028 \u2502 -16.6152838 \u2502 (\u2205,S,\u2205,\u2205) (ATG,N,ATG,M) (AAA,N,A\u2026 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Reader for Deciphon snap files.",
    "version": "1.0.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "546218aef01d19ea58e17a1333ab8cdf06ee32b48056e1b1a1d020c96b9f4f11",
                "md5": "33681e6aa88c24cdaa07be7eb049ae6a",
                "sha256": "dff86bd2e608ebd389a0842a0aac938a87418ed3ca394e00ea5bec542ea58296"
            },
            "downloads": -1,
            "filename": "deciphon_snap-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "33681e6aa88c24cdaa07be7eb049ae6a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 14648,
            "upload_time": "2024-10-31T16:12:45",
            "upload_time_iso_8601": "2024-10-31T16:12:45.701441Z",
            "url": "https://files.pythonhosted.org/packages/54/62/18aef01d19ea58e17a1333ab8cdf06ee32b48056e1b1a1d020c96b9f4f11/deciphon_snap-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4c5cc4bfdd94a3f57964852b45ccc0d1202cb81d74bdc75dbf893c5143791bc",
                "md5": "692aa81f45e9d2e64f0490e8b6908d6e",
                "sha256": "0eb45b5456e8a18905a5d03110212f994f0ee34e8cb5385deeda5242f64fd73f"
            },
            "downloads": -1,
            "filename": "deciphon_snap-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "692aa81f45e9d2e64f0490e8b6908d6e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 10217,
            "upload_time": "2024-10-31T16:12:46",
            "upload_time_iso_8601": "2024-10-31T16:12:46.745546Z",
            "url": "https://files.pythonhosted.org/packages/b4/c5/cc4bfdd94a3f57964852b45ccc0d1202cb81d74bdc75dbf893c5143791bc/deciphon_snap-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 16:12:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "deciphon-snap"
}
        
Elapsed time: 0.47960s