Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NGS-intro-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
courses
NGS-intro-course
Commits
b22d1709
Commit
b22d1709
authored
11 years ago
by
Laros
Browse files
Options
Downloads
Patches
Plain Diff
The installing lecture now uses pframes.
parent
4de9254f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
installing/installing.tex
+39
-57
39 additions, 57 deletions
installing/installing.tex
with
39 additions
and
57 deletions
installing/installing.tex
+
39
−
57
View file @
b22d1709
...
...
@@ -31,9 +31,8 @@
% First page of the presentation.
\section
{
Simple installation
}
\begin{frame}
[fragile]
\frametitle
{
Updating.
}
\subsection
{
Updating.
}
\begin{pframe}
First of all, run the update command to make sure we download the latest
versions.
\bigskip
...
...
@@ -51,11 +50,10 @@
\begin
{
lstlisting
}
[
language
=
none, caption
=
Upgrade to the newest version.
]
$
sudo apt-get upgrade
\end{lstlisting}
\end{frame}
\begin{frame}
[fragile]
\frametitle
{
Small packages.
}
\end{pframe}
\subsection
{
Small packages.
}
\begin{pframe}
In many cases, the package name is equal to the command we want to use:
\bigskip
...
...
@@ -66,11 +64,10 @@
$
sudo apt
-
get install sl
$
sl
\end{lstlisting}
\end{frame}
\begin{frame}
[fragile]
\frametitle
{
Searching for packages.
}
\end{pframe}
\subsection
{
Searching for packages.
}
\begin{pframe}
If we want to search for all packages that have anything to do with
``alignment'':
\bigskip
...
...
@@ -88,11 +85,10 @@
DNA and protein sequences
...
\end
{
lstlisting
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\frametitle
{
Searching package content.
}
\end
{
pframe
}
\subsection
{
Searching package content.
}
\begin
{
pframe
}
Suppose we know a command, but we do not know which package to install:
\bigskip
...
...
@@ -102,11 +98,9 @@
\bigskip
This will return nothing (unlike our ``
\bt
{
sl
}
'' example).
\end{frame}
\begin{frame}
[fragile]
\frametitle
{
Searching package content.
}
\end{pframe}
\begin{pframe}
Get a list of packages that provide the file ``
\bt
{
exonerate
}
''.
\bigskip
...
...
@@ -124,12 +118,11 @@
\begin{lstlisting}
[language=none, caption=Install the right package.]
$
sudo apt
-
get install exonerate
\end
{
lstlisting
}
\end
{
frame
}
\end
{
p
frame
}
\section
{
Manual installation
}
\begin
{
frame
}
\frametitle
{
Why manual installation?
}
\subsection
{
Why manual installation?
}
\begin
{
pframe
}
Reasons for manual installation:
\begin
{
itemize
}
\item
There is no package available.
...
...
@@ -144,25 +137,23 @@
\item
Download an
\emph
{
archive
}
from the internet.
\item
Extract the content.
\end
{
itemize
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\frametitle
{
Archives.
}
\end
{
pframe
}
\subsection
{
Archives.
}
\begin
{
pframe
}
Commonly used archiving programs:
\begin
{
itemize
}
\item
\bt
{
tar
}
in combination with
\bt
{
gzip
}
or
\bt
{
bzip
2
}
.
\item
\bt
{
zip
}
.
\end
{
itemize
}
\
big
skip
\
med
skip
Zip is commonly used for Windows and is easy to use for Linux.
\bigskip
\begin
{
lstlisting
}
[
language
=
none, caption
=
Unpack a zip archive.
]
$
unzip archivename.zip
\end{lstlisting}
\
big
skip
\
med
skip
\pause
\begin{lstlisting}
[language=none, caption=Create a zip archive.]
...
...
@@ -170,11 +161,9 @@
\end
{
lstlisting
}
The option
\bt
{
-
r
}
stands for
\emph
{
recursive
}
.
\end
{
frame
}
\begin
{
frame
}
\frametitle
{
Archives.
}
\end
{
pframe
}
\begin
{
pframe
}
Tar is an old program used to pack lots of files into one archive to put it
on tape
(
hence the name Tape ARchive
)
.
\bigskip
...
...
@@ -201,11 +190,9 @@
\caption
{
Extensions of compressed tar archives.
}
\label
{}
\end
{
table
}
\end
{
frame
}
\begin
{
frame
}
\frametitle
{
Archives.
}
\end
{
pframe
}
\begin
{
pframe
}
Commonly used options for
\bt
{
tar
}
:
\bigskip
...
...
@@ -225,11 +212,10 @@
\caption
{
Commonly used Tar options.
}
\label
{}
\end
{
table
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\frametitle
{
Example extraction.
}
\end
{
pframe
}
\subsection
{
Example extraction.
}
\begin
{
pframe
}
Extraction of a
\bt
{
tar.gz
}
file
(
\bt
{
tar
}
compressed with
\bt
{
gzip
}
)
:
\bigskip
...
...
@@ -245,11 +231,9 @@
\begin{lstlisting}
[language=none, caption=Create a compressed archive.]
$
tar
-
czvf myarchive.tar.gz directoryname
\end
{
lstlisting
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\frametitle
{
Example extraction.
}
\end
{
pframe
}
\begin
{
pframe
}
Extraction of a
\bt
{
tar.bz
2
}
file
(
\bt
{
tar
}
compressed with
\bt
{
bzip
2
}
)
:
\bigskip
...
...
@@ -265,11 +249,10 @@
\begin{lstlisting}
[language=none, caption=Create a compressed archive.]
$
tar
-
cjvf myarchive.tar.bz
2
directoryname
\end
{
lstlisting
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\frametitle
{
Installing software: Manual installation
}
\end
{
pframe
}
\subsection
{
Installing software: Manual installation
}
\begin
{
pframe
}
If there are no
\emph
{
executables
}
available, we have to make them ourselves.
\begin
{
itemize
}
\item
Go to the Bowtie website.
...
...
@@ -287,12 +270,11 @@
$
make
$
.
/
bowtie
-
h
\end
{
lstlisting
}
\end
{
frame
}
\end
{
p
frame
}
\section
{
Practical session
}
\begin
{
frame
}
\frametitle
{
About this part of the course
}
\subsection
{
About this part of the course
}
\begin
{
pframe
}
\bigskip
\bigskip
\begin
{
itemize
}
...
...
@@ -303,11 +285,11 @@
\item
We are going to connect to other machines
(
servers that have more
memory or computing power
)
.
\end
{
itemize
}
\end
{
frame
}
\end
{
p
frame
}
\section
{
Questions?
}
\lastpagetemplate
\begin
{
f
frame
}
\begin
{
p
frame
}
\begin
{
center
}
\bigskip
\bigskip
...
...
@@ -321,5 +303,5 @@
\vfill
\permfoot
{
https:
//
humgenprojects.lumc.nl
/
trac
/
humgenprojects
/
wiki
/
NGS
-
intro
}
\end
{
f
frame
}
\end
{
p
frame
}
\end
{
document
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment