Skip to main content

Reader for Deciphon snap files.

Project description

deciphon-snap

Example

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… │
└────────┴────────────┴─────┴─────────────┴─────────────┴─────────────┴───────────────────────────────────┘

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deciphon_snap-1.0.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

deciphon_snap-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file deciphon_snap-1.0.0.tar.gz.

File metadata

  • Download URL: deciphon_snap-1.0.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for deciphon_snap-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3ccb5a87f0b8e89db1a683cccc221988d7d7b6ba08383de59554b8a43440d80d
MD5 b86704e4966958b073e2a6cba75ef592
BLAKE2b-256 6d3f82e13f217ebb1394d31a7b445536164055b22d8b4622c5310b2e71a6e863

See more details on using hashes here.

File details

Details for the file deciphon_snap-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for deciphon_snap-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f34cf693f28366e39d14feaf3ce6f9ae41336be98ee73eab6ec3e7a31f9dd3
MD5 270fe67ad380bb4f1b9a33effb3b375c
BLAKE2b-256 a2d78f51351fe707f92af16c077862df43e5d9ba4db4c914eb8b53549e596c5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page