...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
cd $WORK/src
tar -xvzf SPAdes-3.13.0-Linux.tar.gz
# from the help file:
# x = Extract
# v = verbose
# z = file is also gzipped
# f = force |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
mkdir -p $HOME/local/bin $HOME/local/share # note deliberately creating 2 folders by using the space between them cp $WORK/src/SPAdes-3.13.0-Linux/bin/* $HOME/local/bin #Note that by specifying the full path all the files and the destination, this command can be run from anywhere on TACC. cp -r $WORK/src/SPAdes-3.13.0-Linux/share/spades $HOME/local/share |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
export PATH=$WORK/src/SPAdes-3.13.0-Linux/bin:$PATH # This line must be added to the .bashrc file found in your $HOME directory, in section 2. I typically add all modifications 1 after the other so the most recent thing I have added is the last line in this section, but is searched first when looking for commands. |
...