This is a test version of Biostars. For the public version, visit https://www.biostars.org.
python file for coding potential calculator

i want to do coding potential using coding potential calculator 2 tool (cpc2). my python version is 3. i have cpc2.py file but it is not suit for python 3 version anyone share python file(cpc2.py) or tell what i do now?

cpc2.py

Ashok - someone else had to (guess and) add context to your post. Please give us as much information as you can in the first place - we cannot understand your context without you explicitly stating it.

1 answer

Download the CPC2 tool supported by python 3 from here https://github.com/gao-lab/CPC2_standalone/releases/tag/v1.0.1.

Then follow the instructions:

############# prequisits ##################
 pip install biopython  

########## packages installation ############ 
 gzip -dc CPC2_standalone-1.0.1.tar.gz | tar xf - 
 cd CPC2-beta 
 cd libs/libsvm 
 gzip -dc libsvm-3.18.tar.gz | tar xf - 
 cd libsvm-3.18 
 make clean && make 

######### running tool #################### 
 cd CPC  
 bin/CPC2.py -i data/test.fasta -o example_output2

Log in to answer this question.