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
9378cc17
Commit
9378cc17
authored
10 years ago
by
Michiel van Galen
Browse files
Options
Downloads
Patches
Plain Diff
Spellcheck practical 2
parent
79eca1bc
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
practical_two/practical_two.tex
+6
-6
6 additions, 6 deletions
practical_two/practical_two.tex
with
6 additions
and
6 deletions
practical_two/practical_two.tex
+
6
−
6
View file @
9378cc17
...
...
@@ -18,7 +18,7 @@
}
\title
{
NGS Introduction Course
\\
{
\Large
Practical two, Piplines
}}
{
\Large
Practical two, Pip
e
lines
}}
\date
{
Friday, 4 April 2014
}
\author
{
Jeroen Laros, Michiel van Galen
}
...
...
@@ -36,10 +36,10 @@ Log in to the virtual machine as described in the first practical. Finish these
exercises first then continue with this one.
\bigskip
Anlysis pipelines can vary from a couple of very simple lines of code, to
An
a
lysis pipelines can vary from a couple of very simple lines of code, to
complex frameworks working on multiple computing nodes. However, the idea
behind it is always the same. Make your analysis easier, while at the same time
it becomes reproduc
a
ble, documented and easier to share.
it becomes reproduc
i
ble, documented and easier to share.
\medskip
Today we will use bash to create a basic pipeline. Unknowingly, you have
...
...
@@ -59,12 +59,12 @@ specify the interpreter. In Linux we us chmod for this.
\medskip
One last additional piece of information your system is missing, is which
interp
ertao
r it should use. We store this in the very first line of the script
interp
rete
r it should use. We store this in the very first line of the script
and is written like this ``
\#
!/
bin
/
bash''.
\medskip
This is all you need to know to write your first pipeline. Bash offers a lot
more possibilities than just using Linux powertools, navigation and starting
more possibilities than just using Linux power
tools, navigation and starting
other software. For example, to make the pipeline easier to re
-
use with other
data, we can give a bash script parameters. Just like Bowtie, where you can
supply your fastq file. This is done by using the reserved variable
\$
1
inside
...
...
@@ -99,7 +99,7 @@ a script that combines the tools from the first practical into a pipeline:
\medskip
\begin
{
itemize
}
\item
In
l
cude these steps:
\item
Inc
l
ude these steps:
\begin
{
itemize
}
\item
Align a fastq file to the mtDNA
\item
Convert the SAM to a sorted BAM
...
...
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