deciphon-snap


Namedeciphon-snap JSON
Version 1.0.3 PyPI version JSON
download
home_pageNone
SummaryReader for Deciphon snap files.
upload_time2024-11-18 16:17:14
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/67/60/999cc66e24489188dde286169c4154516ba85f421de6725fcc207094a2f4/deciphon_snap-1.0.3.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.3",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b0775478a73c6563693e4d0977c82f450111f9cb5eb3be27f30f2625482fd96",
                "md5": "35706ca3f78683d3082502c5b287e180",
                "sha256": "84f8fbd43c3e7cfc0a4d2b61fac0f2e44fe074c061eb52aa8c3ef7964f6930da"
            },
            "downloads": -1,
            "filename": "deciphon_snap-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35706ca3f78683d3082502c5b287e180",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 14695,
            "upload_time": "2024-11-18T16:17:13",
            "upload_time_iso_8601": "2024-11-18T16:17:13.862313Z",
            "url": "https://files.pythonhosted.org/packages/0b/07/75478a73c6563693e4d0977c82f450111f9cb5eb3be27f30f2625482fd96/deciphon_snap-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6760999cc66e24489188dde286169c4154516ba85f421de6725fcc207094a2f4",
                "md5": "bcd258f6bcb816b87b4be552e90ae716",
                "sha256": "8b09fe69bb88d5a572e55c18e9da3c35e37d1ef2ce300da07a49b902c3ce9e4d"
            },
            "downloads": -1,
            "filename": "deciphon_snap-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "bcd258f6bcb816b87b4be552e90ae716",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 10241,
            "upload_time": "2024-11-18T16:17:14",
            "upload_time_iso_8601": "2024-11-18T16:17:14.915614Z",
            "url": "https://files.pythonhosted.org/packages/67/60/999cc66e24489188dde286169c4154516ba85f421de6725fcc207094a2f4/deciphon_snap-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 16:17:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "deciphon-snap"
}
        
Elapsed time: 0.40395s