CPC2 standalone
- 2019-11-23 15:30, Yang Ding
- Now CPC2 supports both Python 2 and Python 3 (thanks for help from HyperOdin)
1 Pre-requisite:
a. Biopython package: a local version could be downloaded from http://biopython.org/wiki/Download
2 Install
a. Unpack the tarball:
tom@linux$ gzip -dc CPC2-beta.tar.gz | tar xf -
b. Build third-part packages:
tom@linux$ cd CPC2-beta
tom@linux$ export CPC_HOME="$PWD"
tom@linux$ cd libs/libsvm
tom@linux$ gzip -dc libsvm-3.18.tar.gz | tar xf -
tom@linux$ cd libsvm-3.18
tom@linux$ make clean && make
3 Run the predict
tom@linux$ cd $CPC_HOME
tom@linux$ bin/CPC2.py -i (input_seq) -o (result_in_table)
example: tom@linux$ bin/CPC2.py -i data/example.fa -o example_output
4 Output result
The result is in table format (plain text delimited by tab).
Default output:
#ID transcript_length peptide_length Fickett_score pI ORF_integrity coding_probability label
Set '--ORF' to output the start position of longest ORF:
#ID transcript_length peptide_length Fickett_score pI ORF_integrity ORF_Start coding_probability label
Contact
See the website for tutorial and more details. (http://cpc2.cbi.pku.edu.cn)
This is a beta version of CPC2, if have any questions please report to us.
Contact: cpc@mail.cbi.pku.edu.cn
About CPC2
Here are some example commands:
- To run a basic test:
cpc2 -i data/example.fa -o test_output - To check the reverse strand:
cpc2 -i data/example.fa -o test_output -r - To output the longest ORF:
cpc2 -i data/example.fa -o test_output --ORF - To get help:
cpc2 --help
Coding Potential Calculator distinguishes protein-coding from non-coding RNAs based on the sequence features of the input transcripts. CPC2 is an updated version of CPC1, designed to be faster and more accurate in discriminating coding and non-coding transcripts.
Input Requirements
CPC2 accepts RNA transcript sequences in both FASTA format and GTF/GFF/BED format.
FASTA format:
- Size: Less than 100,000 lines in input box (online) and no line limitation in batch mode. Maximum upload file size is 50 Mb.
- Name: Sequence names must begin with ‘>’. Characters after a blank space in the ID will be discarded.
- Sequence: Only characters found in DNA and RNA sequences are allowed.
GTF/GFF/BED format:
- Supported formats: BED6, BED12, GTF, and GFF.
- Size: Less than 50,000 lines. Maximum upload file size is 50 Mb.
- Supported genomes for GTF/GFF/BED: Human (hg38, hg19), Chimpanzee (panTro4), Mouse (mm10), Rat (rn6), Zebrafish (danRer7), Xenopus (xendTro3), Fruitfly (dm6).
- Note: Inputting in BED format might slow down processing.
Features
- Speed and Accuracy: CPC2 employs a novel discriminative model based on sequence intrinsic features, making it significantly faster than CPC1 and other popular tools, while also offering superior accuracy.
- Species-Neutral: The model used in CPC2 is species-neutral, making it suitable for analyzing transcriptomes from a wide range of organisms, including non-model organisms.
- Output: Results include sequence ID, coding/noncoding classification, coding probability, scores for putative peptide length, Fickett TESTCODE score, putative isoelectric point, and ORF integrity.
For more detailed information on the web server, input/output formats, and additional features like BLAST integration, please refer to the original CPC2 documentation and publication.
Maintained for PyPI by:
Pranjal Pruthi Project Scientist, BioinformaticsOnLine organization Email: mail@pranjal.work
Original Publication:
Kang Y. J., Yang D. C., Kong L., Hou M., Meng Y. Q., Wei L., Gao G. 2017. CPC2: a fast and accurate coding potential calculator based on sequence intrinsic features. Nucleic Acids Research 45(Web Server issue): W12–W16.
Metadata
Release files for cpc2-standalone 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cpc2_standalone-1.0.9.tar.gz | 1.4 MB | Without provenance | Details for cpc2_standalone-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cpc2_standalone-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for cpc2_standalone-1.0.9-py3-none-any.whl |
Total release size: 2.2 MB
Release files / cpc2_standalone-1.0.9.tar.gz
| Download URL | cpc2_standalone-1.0.9.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4dda4b51c449cf3544dcdc6cb82c050b0de8d407e9b7f238931bf0f611449c9
|
|
BLAKE2b-256 checksum How to use checksums |
195c46f25a18012028deac4f9ed9af5d6db6d87c3fd103bce24173a40339610a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / cpc2_standalone-1.0.9-py3-none-any.whl
| Download URL | cpc2_standalone-1.0.9-py3-none-any.whl |
|---|---|
| Size | 831.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2f1d1e101ac81af9ea24f48445096fd603618c4aa977c64e6157d4f3b5ae163
|
|
BLAKE2b-256 checksum How to use checksums |
255914f4fa5557994525b518bab66c6ef73c480666ef0e8af7bf3f3d22f2d0d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for cpc2-standalone 1.0.9
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.