Skip to main content

Projest

Made by [Esther Vendrell]

Last updated: July 2019

Introduction

Projest is my first program. Consist in introduce the name of a protein and obtain information about that as the most similar protein, the differents models it has or the atoms. All the information you can obtain comes from: https://www.rcsb.org/

Description

The main file is protein.py. In spite of main functions are in extract_atoms_information.py - load protein pdb or load protein fasta - the rest of functions are in protein. In this way we will have functions directly linked to protein like: Protein("2ki5").get_similar_protein() -> We will obtain fasta file, pdb file, all the information of protein in mongodb (in the init) and the similar protein of each chain.

Functions

There are 7 functions:

  • get_sequence_aminoacids: in Protein. Returns a list with chain and the sequence of aminoacids (1 letter). From fasta file.
  • get_chain_list: in Protein. Return a list with the differents chains there are.
  • get_aminoacid_list: in Protein. Return a list with the differents aminoacids (3 letters) with the differents sequence numbers classified in chains
  • get_similar_protein: in Protein. Return a dictionary with differents chains and the most similar protein of that chain of the protein.
  • general_dictionary: in Protein. Any return. It inserts in mongodb all the information classified. It is not callable.
  • load_protein_pdb: in extract_atoms_information. Returns the pdb file of the protein. Download the pdb file of the protein in the same directory of the files.
  • load_protein_fasta: in extract_atoms_information. Returns the fasta file of the protein.Download the fasta file of the protein in the same directory of the files.

MongoDB

I could have used an other structure to upload all the information to MongoDB: Protein - Model - residue_sequence_number - atom_number - information atom.

Class Model: def init(self, model_identifier, model_dict): self.model_identifier = model_identifier self.chain_list = [] for chain_identifier, value in model_dict: self.chain_list.append(Chain(chain_identifier))

In this way we obtain information from mongodb. This would be easier but I haven't had enough time since I have realized.

The structure of my project is: Portein - Model - residue_name - residue_sequence_number - element_name - atom_name - information atom.

This is more easy to understand the information we are getting and classified it. This is why I have used this structure. Visually is better but for obtaining this information internally it is worse.

Metadata

Release files for projest 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for projest 0.0.7
File Size Uploaded Provenance Actions
projest-0.0.7.tar.gz 7.2 kB Without provenance Details for projest-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for projest 0.0.7
File Interpreter ABI Platform Actions
projest-0.0.7-py3-none-any.whl Python 3 none any Details for projest-0.0.7-py3-none-any.whl

Total release size: 16.2 kB

Release files / projest-0.0.7.tar.gz

Download URL projest-0.0.7.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
94679168e3543348e07c84f9c534e64ff367909497e3b46d5e9a77119d0b559f
BLAKE2b-256 checksum
How to use checksums
33a7fe258f6ca3a9f6e4e425b5f2d67fb8d530e0d0c9fd6293f0dbe4193381e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / projest-0.0.7-py3-none-any.whl

Download URL projest-0.0.7-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45afdb3e3f26c70d3ed2283f38105447c82930ef74a6443b918c13489a2ad4ff
BLAKE2b-256 checksum
How to use checksums
3caa29c9ac9cab04066a90121fa4532835b924d17c8db1786e9ae863a9960698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for projest 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page