Conversation
src/MMseqsBase.cpp
Outdated
There was a problem hiding this comment.
I would improve this text.
src/MMseqsBase.cpp
Outdated
src/commons/ClusterSpecies.cpp
Outdated
There was a problem hiding this comment.
This file looks incomplete
src/commons/ClusterSpecies.h
Outdated
src/commons/DBReader.cpp
Outdated
There was a problem hiding this comment.
I would remove this print out.
src/commons/DBReader.cpp
Outdated
There was a problem hiding this comment.
I would remove this print out.
src/commons/DBReader.cpp
Outdated
There was a problem hiding this comment.
I would remove this print out.
src/commons/CMakeLists.txt
Outdated
There was a problem hiding this comment.
Please remove it.
src/alignment/Matcher.h
Outdated
There was a problem hiding this comment.
Why is this needed?
|
|
||
| DBReader<unsigned int> tdbr(par.db1.c_str(), par.db1Index.c_str(), par.threads, DBReader<unsigned int>::USE_DATA|DBReader<unsigned int>::USE_INDEX); | ||
| // DBReader<unsigned int> tdbr(par.db1.c_str(), par.db1Index.c_str(), par.threads, DBReader<unsigned int>::USE_DATA|DBReader<unsigned int>::USE_INDEX); | ||
| DBReader<unsigned int> tdbr(par.db1.c_str(), par.db1Index.c_str(), par.threads, DBReader<unsigned int>::USE_DATA|DBReader<unsigned int>::USE_INDEX|DBReader<unsigned int>::USE_LOOKUP); |
There was a problem hiding this comment.
I assume this is not needed anymore
src/util/alignall.cpp
Outdated
src/util/alignproteome.cpp
Outdated
There was a problem hiding this comment.
MemberProteinEntry
src/commons/DBReader.h
Outdated
There was a problem hiding this comment.
I would name this getSourceTotalLen or getSetTotalLen to be consistent with the .source naming
src/workflow/EasyAlignproteome.cpp
Outdated
There was a problem hiding this comment.
You need to implement this whenever you use the createParameterString(..., true) parameter. Or it won't get passed along.
src/workflow/EasyAlignproteome.cpp
Outdated
There was a problem hiding this comment.
CLUSTER_PAR, THREADS_PAR etc are missing
src/workflow/EasyAlignproteome.cpp
Outdated
There was a problem hiding this comment.
You need to pop_back() the output path too and pass it as an environment variable. Or else it will also be passed to createdb.
…of different fasta files
…usage to createdb and easy-search in MMseqsBase.cpp.
| ) : sequenceReader(NULL), index(NULL) { | ||
| int targetDbtype = FileUtil::parseDbType(dataName.c_str()); | ||
| if (Parameters::isEqualDbtype(targetDbtype, Parameters::DBTYPE_INDEX_DB)) { | ||
| index = new DBReader<unsigned int>(dataName.c_str(), (dataName + ".index").c_str(), 1, DBReader<unsigned int>::USE_DATA|DBReader<unsigned int>::USE_INDEX); |
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
style: please add spaces around if:
if[space](...)[space]{
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
double ;
also careful about bool vectors. They are not multi-threading friendly. Here its fine, as you don't do any multi-threading
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
style: missing space after the for
| for (size_t idx = 0; idx < ProteomeList.size(); idx++){ | ||
| if (ProteomeList[idx].isCovered()) { | ||
| continue; | ||
| }else{ |
There was a problem hiding this comment.
style: missing spaces around else
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
style: should be lowercase: proteomeList
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
You can avoid the explicit allocation here:
SubstitutionMatrix subMat(par.scoringMatrixFile.values.aminoacid().c_str(), 2.0, par.scoreBias);
...
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
if you use __sync_fetch_and_add inside incrementMemCount you don't need the critical
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
here you might need the critical as atomic floats can be tricky to do correctly
src/util/proteomecluster.cpp
Outdated
There was a problem hiding this comment.
if you rewrite the subMat init above, you can remove this
…mber proteome is detected)
…teome handling update
No description provided.