Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
HPC - JGU - Life Sciences
seq-analysis
Commits
0ad2386c
Commit
0ad2386c
authored
Aug 27, 2019
by
Christian Meesters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a stage-in script to ensure minimal amount of communication (e.g. ssh) for stage-in
parent
74a47a5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
blast/parallel_BLAST/stage_in.sh
blast/parallel_BLAST/stage_in.sh
+16
-0
No files found.
blast/parallel_BLAST/stage_in.sh
0 → 100644
View file @
0ad2386c
function
stage_in_writer
()
{
cat
<<
EOF
>
$stagefile
#!/bin/bash
target=/localscratch/
$SLURM_JOB_ID
/ramdisk
cd
\$
target
for fname in
\$
(find
${
DATABASEPATH
}
-type f ); do
suffix=
\$
{fname#*.}
outfile=db.
\$
{suffix}
dd bs=4048 if=
\$
fname of=
\$
outfile &
done
cd -
EOF
}
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