-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non root install #6
base: ubuntu14.04/v1.1
Are you sure you want to change the base?
Changes from 1 commit
2bb35a8
cd21e3f
becd6f3
4a87f7f
5e8fbd9
dc86e93
caaa0bb
a966b79
92bda18
3d15fcf
74bf7d9
b66eae0
31e9b73
9d08ddd
bfce3b7
c78f9ba
55a61f3
4b29611
2568739
fcaf3d0
353bacb
88e9fa3
a3c77a4
6438276
727aa85
8d3b137
763a608
99eac72
c21b7ba
e8e8a0a
ff79fd1
b6fd3f0
28a9afe
83eade1
188a66f
e240d39
17d9f17
29db18f
a3328ba
f525527
1bf737d
51e8670
83267f2
a890134
90cfefd
081d1e7
d5dcf9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,41 +6,41 @@ cd /mnt | |
curl -O ftp://selab.janelia.org/pub/software/hmmer3/3.1b1/hmmer-3.1b1.tar.gz | ||
tar xzf hmmer-3.1b1.tar.gz | ||
cd hmmer-3.1b1/ | ||
./configure --prefix=/usr && make && make install | ||
./configure --prefix=${HOME} && make && make install | ||
|
||
cd /mnt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These lines could be the problem; depends on the permissions of the 'mnt' folder. Lets download source code and build inside |
||
curl -O http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/aragorn1.2.36.tgz | ||
tar -xvzf aragorn1.2.36.tgz | ||
cd aragorn1.2.36/ | ||
gcc -O3 -ffast-math -finline-functions -o aragorn aragorn1.2.36.c | ||
cp aragorn /usr/local/bin | ||
cp aragorn ~/bin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When copying to a directory I usually use a trailing slash for clarity |
||
|
||
cd /mnt | ||
curl -O http://prodigal.googlecode.com/files/prodigal.v2_60.tar.gz | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
tar xzf prodigal.v2_60.tar.gz | ||
cd prodigal.v2_60/ | ||
make | ||
cp prodigal /usr/local/bin | ||
cp prodigal ~/bin | ||
|
||
cd /mnt | ||
curl -O ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/linux64.tbl2asn.gz | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
gunzip linux64.tbl2asn.gz | ||
mv linux64.tbl2asn tbl2asn | ||
chmod +x tbl2asn | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mr-c this and several other actions in this file require root. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Which lines require root? I don't see any. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The chmod, no? Its halting on this install anyways There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you try it? How does it halt? Anyone is allowed to chmod files that they own. |
||
cp tbl2asn /usr/local/bin | ||
cp tbl2asn ~/bin | ||
|
||
cd /mnt | ||
curl -O http://ftp.gnu.org/gnu/parallel/parallel-20130822.tar.bz2 | ||
tar xjvf parallel-20130822.tar.bz2 | ||
cd parallel-20130822/ | ||
ls | ||
./configure && make && make install | ||
./configure --prefix=${HOME} && make && make install | ||
|
||
cd /mnt | ||
curl -O http://selab.janelia.org/software/infernal/infernal-1.1rc4.tar.gz | ||
tar xzf infernal-1.1rc4.tar.gz | ||
cd infernal-1.1rc4/ | ||
ls | ||
./configure && make && make install | ||
./configure --prefix=${HOME} && make && make install | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,12 +58,17 @@ OK, now we have installed almost all of the software we need, hurrah! | |
|
||
Running the pipeline | ||
-------------------- | ||
If running on EC2:: | ||
mkdir /mnt/bin | ||
ln -s /mnt/bin ~/ | ||
|
||
First, check out the source repository and grab the (...large) initial data | ||
sets:: | ||
|
||
echo "export PATH=${PATH}:~/bin" >> ~/.bashrc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and run it right here as well |
||
|
||
cd /mnt | ||
git clone https://github.com/ged-lab/2012-paper-diginorm.git | ||
git clone https://github.com/ged-lab/2012-paper-diginorm.git --branch ubuntu14.04/v1.1 | ||
cd 2012-paper-diginorm | ||
|
||
curl -O https://s3.amazonaws.com/public.ged.msu.edu/2012-paper-diginorm/pipeline-data-new.tar.gz | ||
|
@@ -73,9 +78,10 @@ Now go into the pipeline directory and install Prokka & run the pipeline. This | |
will take 24-36 hours, so you might want to do it in 'screen' (see | ||
http://ged.msu.edu/angus/tutorials-2011/unix_long_jobs.html). :: | ||
|
||
|
||
cd pipeline | ||
bash install-prokka.sh | ||
make /usr/local/share/khmer | ||
make | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mr-c I don't understand why this line is not working. Before I added lines 90 and 91, I had the problem
This makes me think this is a screed problem still. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my above comment about root vs. non-root. |
||
|
||
Once it successfully completes, copy the data over to the ../data/ directory:: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://packages.ubuntu.com/search?keywords=hmmer :-)