Rosetta
Version 4 (Anton Vasetenkov, 12.01.2015 18:15) → Version 5/28 (Anton Vasetenkov, 12.01.2015 18:17)
h1. Rosetta-Tips
{{toc}}
h3. Installation
При сомпиляции в Ubuntu 14.10 c OpenMpi возникает ошибка:
<pre>
src/protocols/wum2/EndPoint.cc:21:42: error: a function call cannot appear in a constant-expression
src/protocols/wum2/EndPoint.cc:21:44: error: template argument 1 is invalid
</pre>
Антон Васетенков предлагает:
<pre>
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
/// @file protocols/wum2/EndPoint.cc
/// @brief Non MPI version of EndPoint
/// @details This class is required because SingleNode role needs to use an EndPoint that is not MPI dependent (ie just a wrapper for 2 queues)
/// @author Ken Jung
//anton added this
#include <boost/cstdint.hpp>
#include <protocols/wum2/EndPoint.hh>
#include <protocols/wum2/WorkUnit.hh>
namespace protocols {
namespace wum2 {
//anton commented this
//EndPoint::EndPoint( boost::function < uint64_t () > role_available_mem ) : role_available_mem_( role_available_mem) {}
//anton added this
EndPoint::EndPoint( boost::function < boost::uint64_t () > role_available_mem ) : role_available_mem_( role_available_mem) {}
} // wum2
} // protocols
</pre>
h3. Fragments:
Генерация
<pre>
/home/domain/anur/progs/rosseta/main/source/bin/fragment_picker.default.linuxgccrelease -in:file:fasta 1.fasta -in:file:vall /home/domain/anur/progs/rosseta/tools/fragment_tools/vall.apr24.2008.extended.gz -out::file::frag_prefix pep-1 -frags::frag_sizes 9 5 3
</pre>
Если последовательность вашего белка идёт не первой цепью, то надо сдвинуть остатки в файле фрагментов:
<pre>
cp ~/progs/rosseta/demos/protocol_capture/2010/FlexPepDock_AbInitio/scripts/frags/shift.sh .
./shift.sh pep-1.200.3mers 276 > pep-1.200.shift.3mers
</pre>
{{toc}}
h3. Installation
При сомпиляции в Ubuntu 14.10 c OpenMpi возникает ошибка:
<pre>
src/protocols/wum2/EndPoint.cc:21:42: error: a function call cannot appear in a constant-expression
src/protocols/wum2/EndPoint.cc:21:44: error: template argument 1 is invalid
</pre>
Антон Васетенков предлагает:
<pre>
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
/// @file protocols/wum2/EndPoint.cc
/// @brief Non MPI version of EndPoint
/// @details This class is required because SingleNode role needs to use an EndPoint that is not MPI dependent (ie just a wrapper for 2 queues)
/// @author Ken Jung
//anton added this
#include <boost/cstdint.hpp>
#include <protocols/wum2/EndPoint.hh>
#include <protocols/wum2/WorkUnit.hh>
namespace protocols {
namespace wum2 {
//anton commented this
//EndPoint::EndPoint( boost::function < uint64_t () > role_available_mem ) : role_available_mem_( role_available_mem) {}
//anton added this
EndPoint::EndPoint( boost::function < boost::uint64_t () > role_available_mem ) : role_available_mem_( role_available_mem) {}
} // wum2
} // protocols
</pre>
h3. Fragments:
Генерация
<pre>
/home/domain/anur/progs/rosseta/main/source/bin/fragment_picker.default.linuxgccrelease -in:file:fasta 1.fasta -in:file:vall /home/domain/anur/progs/rosseta/tools/fragment_tools/vall.apr24.2008.extended.gz -out::file::frag_prefix pep-1 -frags::frag_sizes 9 5 3
</pre>
Если последовательность вашего белка идёт не первой цепью, то надо сдвинуть остатки в файле фрагментов:
<pre>
cp ~/progs/rosseta/demos/protocol_capture/2010/FlexPepDock_AbInitio/scripts/frags/shift.sh .
./shift.sh pep-1.200.3mers 276 > pep-1.200.shift.3mers
</pre>