rostlab / locnuclei Goto Github PK
View Code? Open in Web Editor NEWPrediction of subnuclear locations
Prediction of subnuclear locations
when i want to run the demo ' python locnuclei.py example/ example/ result.out -t',
error happend, as fllows:
~/LocNuclei$ python locnuclei.py example/ example/ result.out -t
Namespace(blast_folder='example/', blast_suffix='.profile', debug=False, fasta_folder='example/', fasta_suffix='.fasta', only_blast=False, output_file='result.out', temp_folder=None, traveller=True, verbose=False)
Start: 2019-12-10 02:05:10.047608
b''
b'Invalid Symbol File Entry: Z\n'
ERROR: String-kernel returned with exit-code 1
#note:
because I just need use svm ,so I Commented two lines of code(don't use blast):
def predict_given_files(self, fasta_folder, fasta_suffix, blast_folder, blast_suffix, tmp_folder, out_file, only_blast):
self.get_fasta_files(fasta_folder, fasta_suffix)
self.get_blast_files(blast_folder, blast_suffix)
self.prepare_temporary_directory(tmp_folder)
when i want to run the demo ' python locnuclei.py example/ example/ result.out -t',
error happend, as fllows:
~/LocNuclei$ python locnuclei.py example/ example/ result.out -t
Namespace(blast_folder='example/', blast_suffix='.profile', debug=False, fasta_folder='example/', fasta_suffix='.fasta', only_blast=False, output_file='result.out', temp_folder=None, traveller=True, verbose=False)
Start: 2019-12-10 02:05:10.047608
b''
b'Invalid Symbol File Entry: Z\n'
ERROR: String-kernel returned with exit-code 1
#note:
because I just need use svm ,so I Commented two lines of code(don't use blast):
def predict_given_files(self, fasta_folder, fasta_suffix, blast_folder, blast_suffix, tmp_folder, out_file, only_blast):
# 0) Read files and determine the workload
self.get_fasta_files(fasta_folder, fasta_suffix)
self.get_blast_files(blast_folder, blast_suffix)
self.prepare_temporary_directory(tmp_folder)
# self.prepare_query_files(tmp_folder)
# 1) Ask Blast for homologues proteins - if we've a hit we don't need to run the whole SVM-process:
### 2 blaster = BlastPredictor(self.verbose, self.working_directory, self.file_manager, self.predict_traveller)
### 2 self.all_query_proteins = blaster.predict_all_query_proteins(self.all_query_proteins)
# 2) Run SVMs for proteins without an blast-hit
if only_blast == False:
profkernel_predictor = SVMPredictor(self.verbose, self.working_directory, self.file_manager)
self.all_query_proteins = profkernel_predictor.predict_all_query_proteins_without_blast_hit(self.all_query_proteins)
The file Amino.txt is referred to in external_file_manager.py as.
self._amino_file = '/usr/share/fastprofkernel/data/Amino.txt'
However, this file cannot be run and therefore the example cannot be executed.
Could you please provide this file..
When I ran the program, an error occurred .
D:\LocNuclei\LocNuclei>python locnuclei.py example/ example/ result.
Namespace(blast_folder='example/', blast_suffix='.profile', debug=False, fas
asta_suffix='.fasta', only_blast=False, output_file='result.out', temp_folde
verbose=False)
ERROR: File /usr/share/fastprofkernel/data/Amino.txt not available - exit!
however ,I can't find the file named Amino.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.