Skip to content

idrblab/LocPro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocPro

Installation

git clone https://github.com/idrblab/LocPro.git
cd LocPro
conda env create -f environment.yml
conda activate LocPro

# download models from https://drive.google.com/drive/folders/1twlsmrQRBF7gFMG97tnH0HxzjvExyfsA
# and extract them to ./models

Run LocPro

from locpro.inference import getInference
import pandas as pd
from fasta import FASTA


output_folder = 'result_demo'
input_fasta_path = "./demo.fasta"
input_fasta = FASTA(input_fasta_path)

# Perform inference using the "Main" model type
result_main,result_all = getInference(input_fasta=input_fasta, output_folder=output_folder)
pd.DataFrame(result_main).to_csv(f'./{output_folder}/resultMain.csv', index=False)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages