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
R
recursive-gmconvert
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Riccardo PELLARIN
recursive-gmconvert
Commits
01c086eb
Commit
01c086eb
authored
Mar 10, 2018
by
samuel hanot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document get_maps.sh
parent
6e8ec414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
get_maps.sh
get_maps.sh
+43
-0
No files found.
get_maps.sh
View file @
01c086eb
#!/bin/bash
usage
()
{
echo
>
&2
\
"usage: get_maps.sh -n num_gaussians -N num_iterations [-s] < input_file.txt
For each emdb entry in input_file.txt, the script downloads it and runs recursive_gmconvert
example:
get_maps.sh -n 2 -N 2 -s <<< 1883
Required arguments:
input_file.txt should contain one emdb entry per line
-n num_gaussians: number of gaussians per sub-process
-N num_iterations: number of recursion levels
Optional arguments:
-s: enable serial mode
-h: display this message"
}
#defaults
n_gaussians
=
N
=
serial
=
0
while
getopts
n:N:sh opt
do
case
"
$opt
"
in
n
)
n_gaussians
=
"
$OPTARG
"
;;
N
)
N
=
"
$OPTARG
"
;;
s
)
serial
=
1
;;
h
)
usage
exit
;;
\?
)
# unknown flag
echo
>
&2
\
usage
exit
1
;;
esac
done
#check that necessary options were set
if
[[
-z
"
$n_gaussians
"
]]
||
[[
-z
"
$N
"
]]
then
usage
exit
1
fi
bindir
=
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
rec_gmconvert
=
${
bindir
}
/recursive_gmconvert.sh
...
...
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