Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TaxaSPAdes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Overduin, Sam
TaxaSPAdes
Commits
48c747ea
Commit
48c747ea
authored
5 years ago
by
Overduin, Sam
Browse files
Options
Downloads
Patches
Plain Diff
Upload reset_spades_for_taxa.sh
parent
98bb1497
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/reset_spades_for_taxa.sh
+41
-0
41 additions, 0 deletions
scripts/reset_spades_for_taxa.sh
with
41 additions
and
0 deletions
scripts/reset_spades_for_taxa.sh
0 → 100644
+
41
−
0
View file @
48c747ea
#!/bin/bash
spades_folder
=
"
$1
"
#cd "$spades_folder"
if
[
"
$2
"
==
"barcode"
]
;
then
rm
-r
"
$spades_folder
"
/K55/saves/barcode_map_construction
echo
"distance_estimation"
>
"
$spades_folder
"
/K55/saves/checkpoint.dat
rm
-r
"
$spades_folder
/.bin_reads"
elif
[
"
$2
"
==
"repeat"
]
;
then
echo
"barcode_map_construction"
>
"
$spades_folder
"
/K55/saves/checkpoint.dat
else
echo
"
$2
not found. Usage: reset_spades_for_taxa.sh spades-folder [barcode|repeat] ."
fi
spades_py_executable
=
"
$HOME
/mnt/ltr/tools/taxa_spades_install_final/bin/spades.py"
rm
"
$spades_folder
"
/pipeline_state/stage_3_k55
rm
"
$spades_folder
"
/pipeline_state/stage_4_copy_files
rm
"
$spades_folder
"
/pipeline_state/stage_5_as_finish
rm
"
$spades_folder
"
/pipeline_state/stage_6_bs
rm
"
$spades_folder
"
/pipeline_state/stage_7_terminate
rm
"
$spades_folder
"
/pipeline_state/stage_7_k55
rm
"
$spades_folder
"
/pipeline_state/stage_8_copy_files
rm
"
$spades_folder
"
/pipeline_state/stage_9_as_finish
#overd008/both_norm/corrected/both_normalized
#overd008/both_norm_corrected_reads/both_normalized
#rm -r "$spades_folder"/K55/saves/barcode_map_construction
echo
"Do you wish to continue the spades pipeline?
with:
$spades_py_executable
--continue -o
$1
(y/n)"
read
continue_pipeline
if
[
"
$continue_pipeline
"
==
"y"
]
;
then
"
$spades_py_executable
"
--continue
-o
"
$1
"
else
echo
"done"
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment