Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ORG.Annotate
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ORG.Asm
ORG.Annotate
Commits
a72f30f9
Commit
a72f30f9
authored
Nov 08, 2015
by
alain viari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CDS detector added
parent
93fac7a7
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
62 additions
and
74 deletions
+62
-74
README.txt
README.txt
+9
-4
detectors/ir/bin/go_ir.sh
detectors/ir/bin/go_ir.sh
+2
-2
detectors/normalize/bin/go_normalize.sh
detectors/normalize/bin/go_normalize.sh
+2
-2
detectors/normalize/lib/lookforIR.lib.sh
detectors/normalize/lib/lookforIR.lib.sh
+1
-1
detectors/normalize/tools/buildSCDB.sh
detectors/normalize/tools/buildSCDB.sh
+2
-2
detectors/normalize/tools/coorienteSC.sh
detectors/normalize/tools/coorienteSC.sh
+2
-2
detectors/rrna/bin/go_rrna.sh
detectors/rrna/bin/go_rrna.sh
+2
-2
detectors/rrna/tools/buildRRNAModels.sh
detectors/rrna/tools/buildRRNAModels.sh
+2
-2
detectors/rrna/tools/revcomp_alignments.sh
detectors/rrna/tools/revcomp_alignments.sh
+2
-2
detectors/trna/bin/go_trna.sh
detectors/trna/bin/go_trna.sh
+4
-4
detectors/trna/tools/buildCAURefDB.sh
detectors/trna/tools/buildCAURefDB.sh
+2
-2
detectors/trna/tools/extract_refCAUtRNA.sh
detectors/trna/tools/extract_refCAUtRNA.sh
+2
-2
org-annotate.sh
org-annotate.sh
+8
-13
scripts/bash_init.sh
scripts/bash_init.sh
+20
-13
scripts/check_port
scripts/check_port
+0
-20
src/README.txt
src/README.txt
+1
-0
src/repseek/repseek-2014.09/Makefile
src/repseek/repseek-2014.09/Makefile
+1
-1
No files found.
README.txt
View file @
a72f30f9
...
...
@@ -10,22 +10,27 @@
#
# First check if binaries have been already compiled for your port
#
# $ scripts/check_port
# $ scripts/check_port
.sh
#
# if it prints :
#
# +
port <PORTNAME> is correctly installed
# +
checking port compilation OK
#
# then everything is fine
#
# if it prints :
#
# ! port <PORTNAME> not installed
# ! Please read README.txt for proper installation
# + port not yet compiled
#
# then, you should first compile binaries for your port
# please consult: src/README.txt for details
#
# if it prints smthing like
# * XXX version A.B.C (should be >= X.Y.Z)
# * please consider installing XXX from src/_unix_tools_
#
# then, you should first compile some unix tools binaries for your port
# please consult: src/README.txt for details
#
# -------------------------
# -2- Distribution organisation
...
...
detectors/ir/bin/go_ir.sh
View file @
a72f30f9
...
...
@@ -19,8 +19,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
${
SCRIPT
_DIR
}
/../../normalize/lib/lookforIR.lib.sh
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
${
THIS
_DIR
}
/../../normalize/lib/lookforIR.lib.sh
pushTmpDir ORG.ir
...
...
detectors/normalize/bin/go_normalize.sh
View file @
a72f30f9
...
...
@@ -24,8 +24,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
${
SCRIPT
_DIR
}
/../lib/lookforIR.lib.sh
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
${
THIS
_DIR
}
/../lib/lookforIR.lib.sh
ORG_DEBUG
=
1
...
...
detectors/normalize/lib/lookforIR.lib.sh
View file @
a72f30f9
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
SELECTIR
=
"
${
PROG_DIR
}
/../../normalize/lib/selectIR.py"
...
...
detectors/normalize/tools/buildSCDB.sh
View file @
a72f30f9
...
...
@@ -6,8 +6,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
pushTmpDir ORG.buildSCDB
...
...
detectors/normalize/tools/coorienteSC.sh
View file @
a72f30f9
...
...
@@ -23,8 +23,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
pushTmpDir ORG.coorienteSC
...
...
detectors/rrna/bin/go_rrna.sh
View file @
a72f30f9
...
...
@@ -16,8 +16,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
pushTmpDir ORG.rrna
...
...
detectors/rrna/tools/buildRRNAModels.sh
View file @
a72f30f9
...
...
@@ -6,8 +6,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
function
fasta1li
{
...
...
detectors/rrna/tools/revcomp_alignments.sh
View file @
a72f30f9
...
...
@@ -6,8 +6,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
function
revcomp
{
...
...
detectors/trna/bin/go_trna.sh
View file @
a72f30f9
...
...
@@ -5,7 +5,7 @@
#========================================================================================
#
# Annotate tRNA based on the Aragorn software predictions.
#
# go_trna.sh <FASTAFILE>
#
# - <FASTAFILE> : The fasta file containing the genome to annotate
...
...
@@ -14,10 +14,10 @@
#
#========================================================================================
# -- CAUTION -- Works as long
than
the script
# -- CAUTION -- Works as long
as
the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
pushTmpDir ORG.trna
...
...
detectors/trna/tools/buildCAURefDB.sh
View file @
a72f30f9
...
...
@@ -6,8 +6,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
function
fasta1li
{
...
...
detectors/trna/tools/extract_refCAUtRNA.sh
View file @
a72f30f9
...
...
@@ -6,8 +6,8 @@
# -- CAUTION -- Works as long than the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/../../../scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/../../../scripts/bash_init.sh"
function
taxid
{
egrep
'/db_xref="taxon:[0-9]+"'
$1
|
\
...
...
org-annotate.sh
View file @
a72f30f9
#!/bin/bash
#
#
#
# Annotate
tRNA
# Annotate
Organelle
#
#========================================================================================
#
# Annotate tRNA based on the Aragorn software predictions.
# go_trna.sh <FASTAFILE>
#
# - <FASTAFILE> : The fasta file containing the genome to annotate
#
# Results are printed to the standart output
#
#========================================================================================
# -- CAUTION -- Works as long
than
the script
# -- CAUTION -- Works as long
as
the script
# is not called through a symlink
SCRIPT
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
SCRIPT
_DIR
}
/scripts/bash_init.sh"
THIS
_DIR
=
"
$(
dirname
${
BASH_SOURCE
[0]
}
)
"
source
"
${
THIS
_DIR
}
/scripts/bash_init.sh"
pushTmpDir ORG.organnot
...
...
@@ -52,7 +44,10 @@ pushTmpDir ORG.organnot
loginfo
"Annotating the rRNA genes..."
${
PROG_DIR
}
/detectors/rrna/bin/go_rrna.sh
${
QUERY
}
>>
"
${
RESULTS
}
.annot"
loginfo
"Done."
loginfo
"Annotating the CDS..."
${
PROG_DIR
}
/detectors/cds/bin/go_cds.sh
${
QUERY
}
>>
"
${
RESULTS
}
.annot"
loginfo
"Done."
loginfo
"Printing annotations header..."
echo
"XX"
...
...
scripts/bash_init.sh
View file @
a72f30f9
...
...
@@ -143,27 +143,35 @@ function formatfasta {
#
#
# The absolute path to the ORG.Annot
e home direco
tory
# The absolute path to the ORG.Annot
home direc
tory
ORG_HOME
=
`
getAbsolutePath
$(
dirname
${
BASH_SOURCE
[0]
}
)
/..
`
ORG_PORTNAME
=
`
${
ORG_HOME
}
/config/guess_port
`
# The architecture running the ORG.Annnote instance
ORG_PORTNAME
=
`
${
ORG_HOME
}
/config/guess_port
`
# The architecture running the ORG.Annot instance
BIN_DIR
=
"
${
ORG_HOME
}
/ports/
${
ORG_PORTNAME
}
/bin"
# Directory containing binaries for this port
SCRIPT_DIR
=
"
${
ORG_HOME
}
/scripts"
# Directory containing scripts utilities
PROG_DIR
=
"
$(
getAbsolutePath
$(
dirname
$0
))
"
# Directory containing the main script file
DATA_DIR
=
"
${
ORG_HOME
}
/data"
# Directory containing reference data for the annotation
LIB_DIR
=
"
$(
getAbsolutePath
${
PROG_DIR
}
/../lib
)
"
# Directory containing the main script libraries
CALL_DIR
=
"
$(
getAbsolutePath
$(
pwd
))
"
# Directory from where the main script is called
IR_DATA_DIR
=
"
${
DATA_DIR
}
/ir"
# Directory containing data related to the
# Inverted repeat strucuture
TRNA_DATA_DIR
=
"
${
DATA_DIR
}
/trna"
# Directory containing data related to the
# tRNA detection
DATA_DIR
=
"
${
ORG_HOME
}
/data"
# Directory containing reference data for the annotation
IR_DATA_DIR
=
"
${
DATA_DIR
}
/ir"
# Directory containing data related to
# IRs detection
TRNA_DATA_DIR
=
"
${
DATA_DIR
}
/trna"
# Directory containing data related to
# tRNAs detection
CDS_DATA_DIR
=
"
${
DATA_DIR
}
/trna"
# Directory containing data related to
# CDSs detection
RRNA_DATA_DIR
=
"
${
DATA_DIR
}
/rrna"
# Directory containing data related to
the
# rRNA
dec
tection
RRNA_DATA_DIR
=
"
${
DATA_DIR
}
/rrna"
# Directory containing data related to
# rRNA
s de
tection
#
...
...
@@ -179,11 +187,10 @@ RRNA_DATA_DIR="${DATA_DIR}/rrna" # Directory containing data related to the
#
# We alter the path to include the bin dir corresponding to the port
PATH
=
"
${
ORG_HOME
}
/ports/
${
ORG_PORTNAME
}
/bin
:
${
PATH
}
"
PATH
=
"
${
SCRIPT_DIR
}
:
${
BIN_DIR
}
:
${
PATH
}
"
export
PATH
# Force to basic international setting for a correction behaviour of AWK on mac with float
export
LANG
=
C
export
LC_ALL
=
C
scripts/check_port
deleted
100755 → 0
View file @
93fac7a7
#!/bin/csh
#
# check if port is installed
#
set ORG_HOME = `dirname $0`/..
set PORTNAME = `$ORG_HOME/config/guess_port`
if (-f $ORG_HOME/ports/$PORTNAME/bin/exonerate) then
echo "+ port $PORTNAME is correctly installed"
exit 0
endif
echo "! port $PORTNAME not installed"
echo "! Please read README.txt for proper installation"
exit 1
src/README.txt
View file @
a72f30f9
...
...
@@ -14,6 +14,7 @@
# gnu tar : version >= 1.15
# gnu make : version >= 3.81
# gcc and g++ : version >= 3.4.6
# gawk : version >= 4.0.1
#
# note: valid versions of gnu tar and make are in _unix_tools_
#
...
...
src/repseek/repseek-2014.09/Makefile
View file @
a72f30f9
...
...
@@ -58,7 +58,7 @@ all: repseek install
repseek
:
$(OBJ) main_repseek.c
$(CC)
$(CFLAGS)
-o
$@
$(OBJ)
main_repseek.c
$(LDFLAGS)
;
$(CC)
$(CFLAGS)
-o
$@
$(OBJ)
main_repseek.c
$(LDFLAGS)
$(LDLIBS)
;
install
:
repseek
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment