GithubHelp home page GithubHelp logo

locnuclei's People

Contributors

mariasche avatar t1mk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mfpfox

locnuclei's Issues

error happend

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)

error happend when calling my-string-kernel

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)

Amino.txt

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..

ERROR: File /usr/share/fastprofkernel/data/Amino.txt not available - exit!

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.