Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
profileview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Edoardo SARTI
profileview
Commits
ffeab516
Commit
ffeab516
authored
May 13, 2020
by
Riccardo Vicedomini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operating system is now correctly checked
parent
b5096d70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
profileview-build
profileview-build
+1
-1
profileview-motif
profileview-motif
+2
-2
profileview-tree
profileview-tree
+5
-5
No files found.
profileview-build
View file @
ffeab516
...
...
@@ -62,7 +62,7 @@ function print_usage() {
# retrieve provided arguments
opts
=
"i:D:d:n:ft:j:hV"
longopts
=
"input:,domain-id:,db:,lib-name:,force,threads:,max-jobs:,help,version,cov:,qid:,max-id:,evalue:,iter:"
if
[
check_system
=
"Linux"
]
;
then
if
[
$(
check_system
)
=
"Linux"
]
;
then
ARGS
=
$(
getopt
-o
"
${
opts
}
"
-l
"
${
longopts
}
"
-n
"
${
CMD_NAME
}
"
--
"
${
@
}
"
)
retcode
=
$?
else
...
...
profileview-motif
View file @
ffeab516
...
...
@@ -58,7 +58,7 @@ function print_usage() {
opts
=
"l:m:o:W:t:hV"
longopts
=
"lib:,models:,out-dir:,temp-dir:,threads:,help,version"
if
[
check_system
=
"Linux"
]
;
then
if
[
$(
check_system
)
=
"Linux"
]
;
then
ARGS
=
$(
getopt
-o
"
${
opts
}
"
-l
"
${
longopts
}
"
-n
"
${
CMD_NAME
}
"
--
"
${
@
}
"
)
retcode
=
$?
else
...
...
@@ -145,7 +145,7 @@ fi
# Create temp working directory
if
[
-z
"
${
PV_TMPDIR
}
"
]
;
then
if
[
check_system
=
"Linux"
]
;
then
if
[
$(
check_system
)
=
"Linux"
]
;
then
PV_TMPDIR
=
$(
mktemp
-p
"
${
PWD
}
"
-d
pvtmp-XXXXX
)
||
{
print_error
"cannot create temporary directory"
;
exit
1
;
}
else
PV_TMPDIR
=
$(
mktemp
-d
"
${
PWD
}
"
/pvtmp-XXXXX
)
||
{
print_error
"cannot create temporary directory"
;
exit
1
;
}
...
...
profileview-tree
View file @
ffeab516
...
...
@@ -45,7 +45,7 @@ function print_usage() {
echo
-en
"
\n
"
echo
-en
" OTHER OPTIONS:
\n
-k, --k-best <num>
\t
Number of best-match models to retain for each sequence (default:
${
PV_KBEST
}
)
\n
--cvar <num>
\t
Minimum explained variance threshold for selecting principal components before the clustering (default:
${
PV_CVAR
}
)
-
c, -
-cvar <num>
\t
Minimum explained variance threshold for selecting principal components before the clustering (default:
${
PV_CVAR
}
)
\t
The provided value must be a number in the interval [0,1]
\n
-s, --seq-desc <name>
\t
Input sequence descriptor file, that is a CSV file containing the follwing fileds:
\n
\t
<sequence_id>,<function_id>,<family_id>,<sequence_length>
\n
...
...
@@ -60,9 +60,9 @@ function print_usage() {
# retrieve provided arguments
opts
=
"i:l:k:s:p:W:t:hV"
opts
=
"i:l:k:
c:
s:p:W:t:hV"
longopts
=
"input:,lib:,k-best:,seq-desc:,prefix:,temp-dir:,threads:,cvar:,help,version"
if
[
check_system
=
"Linux"
]
;
then
if
[
$(
check_system
)
=
"Linux"
]
;
then
ARGS
=
$(
getopt
-o
"
${
opts
}
"
-l
"
${
longopts
}
"
-n
"
${
CMD_NAME
}
"
--
"
${
@
}
"
)
retcode
=
$?
else
...
...
@@ -106,7 +106,7 @@ while [ -n "${1}" ]; do
shift
PV_KBEST
=
${
1
}
;;
--cvar
)
-
c
|
-
-cvar
)
shift
PV_CVAR
=
${
1
}
;;
...
...
@@ -181,7 +181,7 @@ fi
# Create temp working directory
if
[
-z
"
${
PV_TMPDIR
}
"
]
;
then
if
[
check_system
=
"Linux"
]
;
then
if
[
$(
check_system
)
=
"Linux"
]
;
then
PV_TMPDIR
=
$(
mktemp
-p
"
${
PWD
}
"
-d
pvtmp-XXXXX
)
||
{
print_error
"cannot create temporary directory"
;
exit
1
;
}
else
PV_TMPDIR
=
$(
mktemp
-d
"
${
PWD
}
"
/pvtmp-XXXXX
)
||
{
print_error
"cannot create temporary directory"
;
exit
1
;
}
...
...
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