Closed zhenzhenyang-psu closed 4 years ago
To use Shasta on a Linux system with an old kernel, download shasta-OldLinux-0.5.0. Please let us know if you still have a problem with that on CentOS 6.
At coverage 10x it is going to be hard to achieve a good assembly.We have not had the time to optimize assembly parameters for low coverage, but there is some discussion of that in issue #7. In particular, here is a list of assembly parameters that should probably be reduced proportionally to coverage:
MinHash.maxBucketSize
MarkerGraph.minCoverage
MarkerGraph.maxCoverage
MarkerGraph.lowCoverageThreshold
MarkerGraph.highCoverageThreshold
MarkerGraph.edgeMarkerSkipThreshold
However, I would be surprised if you were able to obtain a good assembly at coverage 10x. But good luck!
I actually tried shasta-OldLinux-0.5.0, yet it still reported errors like "kernel too old". I am trying to build from source and see if it works.
While I was trying to build from source, there was an error while compiling package spoa, error message occurred while I typed "make -j all":
Scanning dependencies of target spoa
[ 20%] Building CXX object CMakeFiles/spoa.dir/src/alignment_engine.cpp.o
[ 40%] Building CXX object CMakeFiles/spoa.dir/src/dispatcher.cpp.o
[ 60%] Building CXX object CMakeFiles/spoa.dir/src/graph.cpp.o
[ 80%] Building CXX object CMakeFiles/spoa.dir/src/sisd_alignment_engine.cpp.o
In file included from /tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:14,
from /tmp/shasta-build.bY1y/spoa-v3.4.0/src/alignment_engine.cpp:12:
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:30: error: expected nested-name-specifier before 'Alignment'
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:30: error: 'Alignment' has not been declared
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:30: error: expected ';' before '=' token
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:30: error: expected unqualified-id before '=' token
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:50: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/include/spoa/alignment_engine.hpp:53: error: 'Alignment' does not name a type
In file included from /tmp/shasta-build.bY1y/spoa-v3.4.0/src/alignment_engine.cpp:12:
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:30: error: expected ';' before 'override'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:32: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:47: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:50: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:53: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/sisd_alignment_engine.hpp:60: error: expected ';' before 'noexcept'
In file included from /tmp/shasta-build.bY1y/spoa-v3.4.0/src/alignment_engine.cpp:13:
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:43: error: expected ';' before 'override'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:45: error: 'Alignment' does not name a type
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:61: error: expected constructor, destructor, or type conversion before 'linear'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:65: error: expected constructor, destructor, or type conversion before 'affine'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:69: error: expected constructor, destructor, or type conversion before 'convex'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/simd_alignment_engine.hpp:78: error: expected initializer before 'noexcept'
/tmp/shasta-build.bY1y/spoa-v3.4.0/src/alignment_engine.cpp: In function 'std::unique_ptr<spoa::AlignmentEngine, std::default_delete
Do you happen to know how to fix this compiliationi error? By the way, I will try the low depth parameters, thanks much, zhenzhen
Hi, sorry for the long error message. It was fixed with newer version of gcc and g++ and pass it to cmake. the following commands worked for me in the end:
module load apps/cmake/3.7.0-rc3 module load compiler/gnu/5.5.0 module load apps/glib/2.14
cmake -DCMAKE_C_COMPILER=/public/software/compiler/gnu/5.5.0/bin/gcc -DCMAKE_CXX_COMPILER=/public/software/compiler/gnu/5.5.0/bin/g++ ../spoa-v3.4.0 -DBUILD_SHARED_LIBS=OFF
thanks, zhenzhen
Regarding building Shasta on CentOS6 6, please see my comments on issue #157.
Hi Chan, I know the desired depth of coverage is 60, but in my case, I have nanopore reads of only 10x coverage. For desired output, is there any parameters that I shall change for a successful run?
Also, i have another issue regarding the support system for shasta. The server for which I have large RAM nodes is a centOS6, which complained about errors like "kernel too old, core dumped". When I switched to a centOS7 node, this error was avoided. However, I didn't have large fat nodes on that system. Do you have any suggestions?
thanks much, zhenzhen