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
7017655a
Commit
7017655a
authored
Nov 14, 2015
by
Alain Viari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bug in chlorodb
parent
edd07fd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
detectors/cds/tools/chlorodb/go_chlorodb.sh
detectors/cds/tools/chlorodb/go_chlorodb.sh
+5
-5
No files found.
detectors/cds/tools/chlorodb/go_chlorodb.sh
View file @
7017655a
...
@@ -36,7 +36,7 @@ cd $DB_BASE/info
...
@@ -36,7 +36,7 @@ cd $DB_BASE/info
if
(!
-e
$DB_BASE
/parameters.sh
)
then
if
(!
-e
$DB_BASE
/parameters.sh
)
then
Notify
"no
$DB_BASE
/parameters.sh found : creating one for you"
Notify
"no
$DB_BASE
/parameters.sh found : creating one for you"
@ n
=
`
find
$DB_BASE
/download
-depth
1
-type
f
-print
|
wc
-l
`
@ n
=
`
find
$DB_BASE
/download
-
max
depth
1
-type
f
-print
|
wc
-l
`
@ cor_cutoff
=
$n
/ 2
@ cor_cutoff
=
$n
/ 2
@ atg_cutoff
=
$n
/ 10
@ atg_cutoff
=
$n
/ 10
@ dbs_cutoff
=
$n
/ 4
@ dbs_cutoff
=
$n
/ 4
...
@@ -85,7 +85,7 @@ source $DB_BASE/parameters.sh
...
@@ -85,7 +85,7 @@ source $DB_BASE/parameters.sh
# temporarily uncompress
# temporarily uncompress
#
#
set
ff
=
`
find
$DB_BASE
/download
-depth
1
-name
\*
.gz
-print
`
set
ff
=
`
find
$DB_BASE
/download
-
max
depth
1
-name
\*
.gz
-print
`
if
(
$#ff
!=
0
)
then
if
(
$#ff
!=
0
)
then
Notify
"uncompressing
$#ff
entries"
Notify
"uncompressing
$#ff
entries"
...
@@ -98,7 +98,7 @@ endif
...
@@ -98,7 +98,7 @@ endif
# convert gbk/embl to fasta
# convert gbk/embl to fasta
#
#
set
ff
=
`
find
$DB_BASE
/download
-depth
1
\(
-name
\*
.gbk
-or
-name
\*
.embl
\)
-print
`
set
ff
=
`
find
$DB_BASE
/download
-
max
depth
1
\(
-name
\*
.gbk
-or
-name
\*
.embl
\)
-print
`
Notify
"convert
$#ff
gbk/embl entries to fasta"
Notify
"convert
$#ff
gbk/embl entries to fasta"
...
@@ -241,7 +241,7 @@ endif
...
@@ -241,7 +241,7 @@ endif
# recompress entries
# recompress entries
#
#
set
ff
=
`
find
$DB_BASE
/download
-depth
1
-type
f
-print
`
set
ff
=
`
find
$DB_BASE
/download
-
max
depth
1
-type
f
-print
`
if
(
$#ff
!=
0
)
then
if
(
$#ff
!=
0
)
then
Notify
"recompressing
$#ff
entries"
Notify
"recompressing
$#ff
entries"
...
@@ -252,7 +252,7 @@ endif
...
@@ -252,7 +252,7 @@ endif
# compress fasta
# compress fasta
set
ff
=
`
find
$DB_BASE
/fasta
-depth
1
-name
\*
.fst
-print
`
set
ff
=
`
find
$DB_BASE
/fasta
-
max
depth
1
-name
\*
.fst
-print
`
if
(
$#ff
!=
0
)
then
if
(
$#ff
!=
0
)
then
Notify
"compressing
$#ff
fasta entries"
Notify
"compressing
$#ff
fasta entries"
...
...
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