A self-correction multi-label learning model for plasmid host range prediction.
- Python >= 3.10
- Pytorch >= 1.12.1
- Biopython
- Download or clone this repository.
git clone https://github.com/wzou96/MOSTPLAS
- Prepare the fasta file of plasmid sequences and update the file in the folder
input_fasta/
. - Replace the path of the fasta file in the file
test.py
.
input_path = './input_fasta/sequence.fasta'
- Run the code and obtain the prediction results in the folder
output/prediction.txt
.
python test.py
- You can determine the threshold for making host range prediction in the file
test.py
. The default setting is 0.4.
threshold = 0.4
- If you have any questions about the usage of MOSTPLAS, please feel free to contact Wei Zou. (Email: [email protected])