Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plit-genome
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zoology
plit-genome
Commits
b5211d19
Commit
b5211d19
authored
5 months ago
by
Niko (Nikolaos) Papadopoulos
Browse files
Options
Downloads
Patches
Plain Diff
repeat annotation
parent
8e820f3f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
03-repeats/README.md
+10
-0
10 additions, 0 deletions
03-repeats/README.md
03-repeats/prep-repeat-modeler.sh
+32
-0
32 additions, 0 deletions
03-repeats/prep-repeat-modeler.sh
03-repeats/prep-repeat_masker.sh
+30
-0
30 additions, 0 deletions
03-repeats/prep-repeat_masker.sh
with
72 additions
and
0 deletions
03-repeats/README.md
0 → 100644
+
10
−
0
View file @
b5211d19
# Repeat analysis
Code in this folder covers the repeat analysis. It follows the production of a scaffolded draft
genome (after juicebox).
### Repeat prediction
We modeled repeat families on the draft genome of _P. litorale_ using
[
RepeatModeler
](
prep-repeat-modeler.sh
)
and (soft-)masked them with
[
RepeatMasker
](
prep-repeat_masker.sh
)
.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
03-repeats/prep-repeat-modeler.sh
0 → 100644
+
32
−
0
View file @
b5211d19
#!/usr/bin/env bash
#
#SBATCH --job-name=repeatmodeler_pycno
#SBATCH --cpus-per-task=32
#SBATCH --mem=20G
#SBATCH --time=30:00:00
#SBATCH --mail-type=ALL
#SBATCH --mail-user=nikolaos.papadopoulos@univie.ac.at
#SBATCH --output=/lisc/user/papadopoulos/log/pycno-repeats-%j.out
#SBATCH --error=/lisc/user/papadopoulos/log/pycno-repeats-%j.err
# will need optimisation from scratch when I next need it
module load repeatmodeler/2.0.5-5.40.0-1.0.6
# OLDDIR=/lisc/slurm/node-d02/tmp/slurm-9303351
cd
"
$TMPDIR
"
||
exit
1
OUTDIR
=
/lisc/scratch/zoology/pycnogonum/genome/draft/repeats/repeat_modeller
SCAFFOLDS
=
/lisc/scratch/zoology/pycnogonum/genome/draft/draft.fasta
mkdir
-p
"
$OUTDIR
"
||
exit
1
BuildDatabase
-name
pycno
"
$SCAFFOLDS
"
RepeatModeler
-database
pycno
-threads
32
-LTRStruct
>
$OUTDIR
/repeat_modeller_run.out
# tar "$TMPDIR"/RM_*/ -czf "$OUTDIR"/repeatmodeler.tar.gz
# cp "$TMPDIR"/run.out "$OUTDIR"/run.out
# if the run was successful, there should be three result files:
cp
"
$TMPDIR
"
/pycno-families.fa
"
$OUTDIR
"
/pycno-families.fa
cp
"
$TMPDIR
"
/pycno-families.stk
"
$OUTDIR
"
/pycno-families.stk
cp
"
$TMPDIR
"
/pycno-rmod.log
"
$OUTDIR
"
/pycno-rmod.log
\ No newline at end of file
This diff is collapsed.
Click to expand it.
03-repeats/prep-repeat_masker.sh
0 → 100644
+
30
−
0
View file @
b5211d19
#!/usr/bin/env bash
#
#SBATCH --job-name=repeatmasker_pycno
#SBATCH --cpus-per-task=4
#SBATCH --mem=500M
#SBATCH --time=4:00:00
#SBATCH --mail-type=ALL
#SBATCH --mail-user=nikolaos.papadopoulos@univie.ac.at
#SBATCH --output=/lisc/user/papadopoulos/log/pycno-repeat-masker-%j.out
#SBATCH --error=/lisc/user/papadopoulos/log/pycno-repeat-masker-%j.err
# RepeatMasker is a lot less resource-intense than RepeatModeler, so it makes sense to run it as a separate script.
# it ran out of memory with 500M, but it's unclear how much the last step needs
module load repeatmasker/4.1.6-3.12.4-5.40.0
SCAFFOLDS
=
/lisc/scratch/zoology/pycnogonum/genome/draft/draft.fasta
OUTDIR
=
/lisc/scratch/zoology/pycnogonum/genome/draft/repeats/repeat_masker_gff
mkdir
-p
"
$OUTDIR
"
||
exit
1
cd
"
$OUTDIR
"
||
exit
1
FAMILIES
=
"../repeat_modeller/pycno-families.fa"
RepeatMasker
-pa
4
-xsmall
-gff
-dir
"
$TMPDIR
"
-lib
"
$FAMILIES
"
"
$SCAFFOLDS
"
# copy the results to the output directory:
cp
"
$TMPDIR
"
/
*
.masked
"
$OUTDIR
"
/
cp
"
$TMPDIR
"
/
*
.out
"
$OUTDIR
"
/
cp
"
$TMPDIR
"
/
*
.tbl
"
$OUTDIR
"
/
cp
"
$TMPDIR
"
/
*
.cat
*
"
$OUTDIR
"
/
cp
"
$TMPDIR
"
/
*
.gff
"
$OUTDIR
"
/
\ No newline at end of file
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