Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPLAS RNASeq Workshop 2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
HHU Plant Biochemistry
CEPLAS RNASeq Workshop 2022
Commits
c2250f0e
Commit
c2250f0e
authored
2 years ago
by
Alisandra Denton
Browse files
Options
Downloads
Patches
Plain Diff
end for today
parent
d5fe782d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_reader/sections/04_section_longreads.tex
+23
-10
23 additions, 10 deletions
_reader/sections/04_section_longreads.tex
workflows/maindocker/python_installs.sh
+11
-4
11 additions, 4 deletions
workflows/maindocker/python_installs.sh
with
34 additions
and
14 deletions
_reader/sections/04_section_longreads.tex
+
23
−
10
View file @
c2250f0e
...
...
@@ -428,7 +428,7 @@ collapse_isoforms_by_sam.py --input runs/isoseq/flnc/m16.flnc.fa \
-o runs/isoseq/collapsed/m16.flnc.to
_
genome
\
--flnc
_
coverage 2
ls collapsed
ls
runs/isoseq/
collapsed
\end{lstlisting}
To understand everything going on and the parameters for the previous step,
...
...
@@ -542,7 +542,7 @@ Let's just try it and look at the result.
\begin{lstlisting}
# convert to gff3 (bc the hints script takes only gff3 correctly)
pfx=collapsed/m16.flnc.to
_
genome.collapsed.
pfx=
runs/isoseq/
collapsed/m16.flnc.to
_
genome.collapsed.
gffread
${
pfx
}
bad.gff
-
o
${
pfx
}
bad.gff3
gffread
${
pfx
}
good.gff
-
o
${
pfx
}
good.gff3
# feel free to look at output with 'less' to see differences between gff and gff3
...
...
@@ -608,7 +608,7 @@ cut it smaller than your chromosomes/scaffolds.
# feel free to just type in place
official
_
gtf=studies/AthalianaReferences/resources/Athaliana
_
167
_
TAIR10.gene
_
exons.gtf
subset
_
genome
_
related.py --fasta studies/AthalianaReferences/resources/Athaliana
_
167
_
TAIR9.fa
\
subset
_
genome
_
related.py --fasta studies/AthalianaReferences/resources/Athaliana
_
167
_
TAIR9.fa
\
-sChr1 -f1 -t300000 --gff
${
pfx
}
good.gff
3
,
${
pfx
}
bad.gff3,
${
pfx
}
hints.gff
3
,
$
official
_
gtf
\
--bam runs/isoseq/mapped/m16.flnc.sorted.bam
...
...
@@ -620,19 +620,20 @@ Now we can run augustus
\begin{lstlisting}
# I don't like typing the same things over and over again
where=Chr1
_
1-300000
mkdir gene
_
models
mkdir
runs/isoseq/
gene
_
models
augustus --hintsfile=
${
pfx
}
hints
__${
where
}
.gff3 --species=arabidopsis
\
--alternatives-from-evidence=true --extrinsicCfgFile=extrinsic.E.cfg
\
--alternatives-from-evidence=true
\
--extrinsicCfgFile=assays/Zhu2017
_
IsoSeq/dataset/extrinsic.E.cfg
\
--UTR=on --allow
_
hinted
_
splicesites=atac
\
studies/AthalianaReferences/resources/Athaliana
_
167
_
TAIR9
__${
where
}
.fa
\
>
gene
_
models
/
flnc.
${
where
}
.augustus
--
softmasking
=
off > runs
/
isoseq
/
gene
_
models
/
flnc.
${
where
}
.augustus
less
${
pfx
}
augustus
# the augustus output has the hints, commented protein sequence, explanation,
# and, what we are after, gtf lines with 'AUGUSTUS', the gene models.
# let's subset it to have just these.
less gene
_
models
/
flnc.
${
where
}
.augustus | grep AUGUSTUS >
\
gene
_
models/flnc.
${
where
}
.augustus.gtf
less
runs
/
isoseq
/
gene
_
models
/
flnc.
${
where
}
.augustus | grep AUGUSTUS >
\
runs/isoseq/
gene
_
models/flnc.
${
where
}
.augustus.gtf
\end
{
lstlisting
}
%# copying the commands for the full runs here so as to be able to provide
%# comparative results
...
...
@@ -652,8 +653,8 @@ may a) open multiple tablet instances (think teamwork) or b) adjust the 'feature
column of the gff to have a different name. See below for an example
\begin
{
lstlisting
}
less gene
_
models
/
flnc.
${
where
}
.augustus.gtf | awk 'BEGIN
{
OFS = FS = "
\t
"
}
\
{
sub(/
^
/, "flnc.",
$
3
)
}
1
' > gene
_
models
/
flnc.
${
where
}
.augustus.gtf.tablet
less
runs
/
isoseq
/
gene
_
models
/
flnc.
${
where
}
.augustus.gtf | awk 'BEGIN
{
OFS = FS = "
\t
"
}
\
{
sub(/
^
/, "flnc.",
$
3
)
}
1
' >
runs
/
isoseq
/
gene
_
models
/
flnc.
${
where
}
.augustus.gtf.tablet
less gene
_
models/flnc.
${
where
}
.augustus.gtf.tablet # check results
# don't worry about understanding all of the 'awk' command. The first bit
# is to tell it to use only tabs as a column separator. The second bit says
...
...
@@ -669,6 +670,18 @@ to see
In any case, congratulations for getting all the way to our first full
gene models
!
\fbox
{
\begin
{
minipage
}{
45
em
}
END OF WORKING LONG READ SECTION
If you've gotten this far, know that everything beyond has not been update since
2018
,
nor has the install been tested, almost certainly not working.
Also, the easier genomes become to sequence, the less
relevant genome
-
less analyses become.
Read through anyways for an overview of the concepts, or try Dominik's challenge assignment :
-)
\end
{
minipage
}}
\paragraph
{
Mapping high quality isoforms
}
We're now going to run
(
nearly
)
all the same steps for mapping high quality
isoforms that we ran for mapping flnc reads above. As it is essentially
...
...
This diff is collapsed.
Click to expand it.
workflows/maindocker/python_installs.sh
+
11
−
4
View file @
c2250f0e
...
...
@@ -11,14 +11,21 @@ pip3 install scikit-learn
oldpwd
=
`
pwd
`
#dustdas
cd
repos
git clone https://github.com/janinamass/dustdas.git
cd
dustdas
pip
install
.
cd
$oldpwd
# cupcake
mkdir
repos/alisandra
cd
repos/alisandra
# cDNAcupcake (originally from Magdoll of course, but patched)
git clone https://github.com/alisandra/cDNA_Cupcake.git
git clone https://github.com/Magdoll/cDNA_Cupcake.git
cd
cDNA_Cupcake/
git checkout v28.0.0
pip3
install
-r
requirements.txt
python3 setup.py build
python3 setup.py
install
pip
install
.
cd
$oldpwd
#mkdir Magdoll
...
...
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