Skip to main content

Search a list of peptides in a fasta file (or proteome) and returns exact matches or hits with one mismatch

Project description

A useful tools to search a list of peptides in a fasta file (a list of proteins, or a proteome)

Description

This tool consists one module:

  • PeptideSearch: this tool searches for peptides in a fasta file including proteins, it can find Exact Match or Marches with up to One Mismatch

Installation

Normal installation

pip install PeptideSearch

Development installation

git clone https://github.com/khaledianehdieh/PeptideSearch.git

Usage

python3
>>> from PeptideSearch import PeptideSearch as PS 
>>> P=PS.PeptideSearch(Peptides, Fasta_File) #Peptides is a .txt file that has one peptide per line, and Fasta_File is a fasta file containing the proteins

#you might use the function as you need in three different ways:
#1- Find Exact Matches
>>> df_EM, pList= P.ExactMatch()  # returns Exact Matches (df_EM) and a list of peptides (pList) that didn't find any matche

#2- Find One MisMatches
>>> peptides= P.read_Peptides()
df_OM, NotFoundList= P.OneMismatch(peptides) #returns One  Mis Matches (df_OM) for and list of peptides (NotFoundList) that didn't find any matche

#3- Combine one and two, first find a list of exacxt matches and then look for one mismatch for the peptides that we diddnt find any match
#Also saves the result in a CSV file
>>> df_all, NotFounPeptides = P.MatchFinder()   #returns All Matches (df_all) for and a list of peptides (NotFounPeptides) that couldn't find any match

Change log

[0.1] - 2021-08-02

  • Created

[0.2.1] - 2021-08-02

  • Added usage

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

PeptidesSearch-0.2.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PeptidesSearch-0.2.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file PeptidesSearch-0.2.1.tar.gz.

File metadata

  • Download URL: PeptidesSearch-0.2.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for PeptidesSearch-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a91f6c131a3bd387ff1a330e48e296852b31e7b7800dbe75bfb8296596394ed2
MD5 64120c70f66cbd2fd22094d8b5d7db54
BLAKE2b-256 b8c5b0de8f16cab322f2f873a75a1b81f99818bd14f49e61f144059850290fdb

See more details on using hashes here.

File details

Details for the file PeptidesSearch-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: PeptidesSearch-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for PeptidesSearch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd05916f437b36a2d75f880ea97fee83f571720fa7bf5aa0f4694a5830df8fac
MD5 4d30e995de8c35fb539ae7a6a38f095d
BLAKE2b-256 045feefe0277112f03c3ebfda503a1d8217b24b0b8113652e6f9450727624582

See more details on using hashes here.

Supported by

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