A tool to compute the features of protein and peptide sequences
Project description
Pfeature
Introduction
Pfeature is developed for computing wide range of protein and peptides features from their amino acid sequences. More information on Pfeature is available from its web server https://webs.iiitd.edu.in/raghava/pfeature. This page provide information about standalone version of Pfeature. This standalone contains three scripts, their description is as follows:
#############################################################################################################################################################################################################################
1: Standalone for calculating composition based features:
Important: To run this script 'Data' folder should be in the same directory.
Minimum USAGE: Minimum ussage is "pfeature_comp -i protein.fa" where protein.fa is a input fasta file. This will calculate the amino acid composition of the seqeunces provided in the fasta file. It will use other parameters by default. It will save output in "pfeature_result.csv" in CSV (comma seperated variables).
#Full Usage: Following is complete list of all options, you may get these options by "pfeature_comp.py -h"
usage: pfeature_comp [-h] -i INPUT [-o OUTPUT]
[-j {AAC,DPC,TPC,ATC,BTC,PCP,AAI,RRI,PRI,DDR,SEP,SER,SPC,ACR,CTC,CeTD,PAAC,APAAC,QSO,SOC,ALLCOMP}]
[-n N_TERMINAL] [-c C_TERMINAL] [-nct NC_TERMINAL]
[-rn REST_N] [-rc REST_C] [-s SPLIT] [-d LAG]
[-w WEIGHT] [-t PWEIGHT]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input: protein or protein.sequence in FASTA format or single sequence per line in single letter code
-o OUTPUT, --output OUTPUT
Output: File for saving results by default pfeature_result.csv
-j {AAC,DPC,TPC,ATC,BTC,PCP,AAI,RRI,PRI,DDR,SEP,SER,SPC,ACR,CTC,CeTD,PAAC,APAAC,QSO,SOC,ALLCOMP}, --job {AAC,DPC,TPC,ATC,BTC,PCP,AAI,RRI,PRI,DDR,SEP,SER,SPC,ACR,CTC,CeTD,PAAC,APAAC,QSO,SOC,ALLCOMP}
Job Type:
AAC: Amino acid composition
DPC: Dipeptide composition
TPC: Tripeptide composition
ATC: Atomic composition
BTC: Bond composition
PCP: Physico-chemical properties composition
AAI: Amino-acid indices composition
RRI: Residue repeat information
PRI: Physico-chemical properties repeat information
DDR: Distance distribution of residues
SEP: Shannon entropy of protein
SER: Shannon entropy of residues
SPC: Shannon entropy of physico-chemical properties
ACR: Autocorrelation descriptors
CTC: Conjoint triad descriptors
CeTD: Composition enhanced transition distribution
PAAC: Pseudo amino acid composition
APAAC: Amphiphilic pseudo amino acid composition
QSO: Quasi sequence order
SOC: Sequence order coupling number
ALLCOMP:All composition features together except ACR and AAI
by default AAC
-n N_TERMINAL, --n_terminal N_TERMINAL
Window Length from N-terminal: by default 0
-c C_TERMINAL, --c_terminal C_TERMINAL
Window Length from C-terminal: by default 0
-nct NC_TERMINAL, --nc_terminal NC_TERMINAL
Residues from N- and C-terminal: by default 0
-rn REST_N, --rest_n REST_N
Number of residues removed from N-terminal, by default 0
-rc REST_C, --rest_c REST_C
Number of residues removed from C-terminal, by default 0
-s SPLIT, --split SPLIT
Number of splits a sequence divided into, by default 0
-d LAG, --lag LAG This represents the order of gap, lag or dipeptide, by default 1
-w WEIGHT, --weight WEIGHT
Weighting Factor for QSO: Value between 0 to 1, by default 0.1
-t PWEIGHT, --pweight PWEIGHT
Weighting factor for pseudo and amphiphlic pseudo amino acid composition: Value between 0 to 1, by default 0.05
#Parameters Description:
Input File: It allow users to provide input in two format; i) FASTA format (standard) (e.g. protein.fa) ii) Simple Format, in this case, file should have sequences in a single line in single letter code (eg. protein.seq).
Output File: Program will save result in CSV format, in the provided filename. In case user do not provide output file name, it will be stored in pfeature_results.csv. In case user want to calculate all the features except AAI and ACR, the job name will be 'ALLCOMP'. Reason to leave AAI and ACR is, the feature calculation takes long time for longer sequences.
Job name: It allows users to choose the type of composition, the user want to calculate, such as AAC which stands for Amino Acid composition. In case user do not provide any job name, it will choose AAC by default.
N-terminal: It allows user to cut the specific number of residues from the N-terminal of the sequences.
C-terminal: It allows user to cut the specific number of residues from the C-terminal of the sequences.
NCT-terminal: It allows user to cut the specific number of residues from the N- and C-terminal of the sequences, and join them.
Rest_N : It allow users to drop the specific number of residues from N-terminal, and perform operations on the rest.
Rest_C : It allow users to drop the specific number of residues from C-terminal, and perform operations on the rest.
Split: It allow users to divided the sequence into number of sequences.
Lag : It defines the value for order of lag, lambda, gap or dipeptide, to calculate certain features.
Weight: It defines the weight factor to calculate the quasi-sequence order, by default it is set at 0.1.
Pweight: It defines the weight factor to calculate the pseudo and amphiphlic pseudo amino acid composition, by default it is set at 0.05.
#############################################################################################################################################################################################################################
2: Standalone for calculating binary profiles based features:
Important: To run this script 'Data' folder should be in the same directory.
Minimum USAGE: Minimum ussage is "pfeature_bin.py -i protein.fa" where protein.fa is a input fasta file. This will calculate the amino acid binary profile of the seqeunces provided in the fasta file. It will use other parameters by default. It will save output in "pfeature_result.csv" in CSV (comma seperated variables).
usage: pfeature_bin [-h] -i INPUT [-o OUTPUT]
[-j {AAB,DPB,ATB,BTB,PCB,AIB,ALLBIN}] [-n N_TERMINAL]
[-c C_TERMINAL] [-nct NC_TERMINAL] [-rn REST_N]
[-rc REST_C] [-s SPLIT] [-d LAG]
Please provide following arguments
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input: protein or protein.sequence in FASTA format or single sequence per line in single letter code
-o OUTPUT, --output OUTPUT
Output: File for saving results by default pfeature_result.csv
-j {AAB,DPB,ATB,BTB,PCB,AIB,ALLBIN}, --job {AAB,DPB,ATB,BTB,PCB,AIB,ALLBIN}
Job Type:
AAB: Amino acid based binary profile
DPB: Dipeptide based binary profile
ATB: Atom based binary profile
BTB: Bond based binary profile
PCB: Physico-chemical properties based binary profile
AIB: Amino-acid indices based binary profile
ALLBIN:All binary profiles together except ATB and BTB
by default AAB
-n N_TERMINAL, --n_terminal N_TERMINAL
Window Length from N-terminal: by default 0
-c C_TERMINAL, --c_terminal C_TERMINAL
Window Length from C-terminal: by default 0
-nct NC_TERMINAL, --nc_terminal NC_TERMINAL
Residues from N- and C-terminal: by default 0
-rn REST_N, --rest_n REST_N
Number of residues removed from N-terminal, by default 0
-rc REST_C, --rest_c REST_C
Number of residues removed from C-terminal, by default 0
-s SPLIT, --split SPLIT
Number of splits a sequence divided into, by default 0
-d LAG, --lag LAG This represents the order of gap, lag or dipeptide, by default 1
#Parameters Description:
Input File: It allow users to provide input in two format; i) FASTA format (standard) (e.g. protein.fa) ii) Simple Format, in this case, file should have sequences in a single line in single letter code (eg. protein.seq).
Output File: Program will save result in CSV format, in the provided filename. In case user do not provide output file name, it will be stored in pfeature_results.csv. In case user want to calculate all the features except ATB and BTB, the job name will be 'ALLBIN'. Reason to leave ATB and BTB is, the number of atoms and bonds are not equal in all amino acid residues.
Job name: It allows users to choose the type of composition, the user want to calculate, such as AAB which stands for Amino Acid based binary profile. In case user do not provide any job name, it will choose AAB by default.
N-terminal: It allows user to cut the specific number of residues from the N-terminal of the sequences.
C-terminal: It allows user to cut the specific number of residues from the C-terminal of the sequences.
NCT-terminal: It allows user to cut the specific number of residues from the N- and C-terminal of the sequences, and join them.
Rest_N : It allow users to drop the specific number of residues from N-terminal, and perform operations on the rest.
Rest_C : It allow users to drop the specific number of residues from C-terminal, and perform operations on the rest.
Split: It allow users to divided the sequence into number of sequences.
Lag : It defines the value for order of dipeptide, to calculate the dipeptide based binary profiles.
#############################################################################################################################################################################################################################
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
Built Distribution
File details
Details for the file pfeature-1.2.tar.gz
.
File metadata
- Download URL: pfeature-1.2.tar.gz
- Upload date:
- Size: 135.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c795ef8adcf1fc7ba173eb88bf4fd5574a5d8efd97873aa3e03b45ca4ff91453 |
|
MD5 | 23b9a21399b693bf5ea190ceaa69aa4e |
|
BLAKE2b-256 | 532156e3db467b14157419fb9724eac873bb64bca59e3a3c3280dfd862aa977d |
File details
Details for the file pfeature-1.2-py3-none-any.whl
.
File metadata
- Download URL: pfeature-1.2-py3-none-any.whl
- Upload date:
- Size: 131.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba3fc2a5a7599b143d7f1b8ede90edbf76aa590476d2864450a543765a0a332 |
|
MD5 | ef772cdc87419dd8262202b79979a178 |
|
BLAKE2b-256 | d8aec31d1a9bb84be4d56ba5dcbd274938f0ba0611da13f7e68d5d5ad35cc972 |