-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
various updates to sweep pipeline (#116)
* latest * pca of sims * stuff & diploshic/vcf bug fix * update diploshic from hd5 to h5; removing any variants at last site * updates
- Loading branch information
1 parent
e8b1f61
commit 8ad0c0a
Showing
10 changed files
with
11,899 additions
and
488 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
workflows/config/snakemake/oregon_profile_simple/status-sacct.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Check status of Slurm job | ||
|
||
jobid="$1" | ||
|
||
if [[ "$jobid" == Submitted ]] | ||
then | ||
echo smk-simple-slurm: Invalid job ID: "$jobid" >&2 | ||
echo smk-simple-slurm: Did you remember to add the flag --parsable to your sbatch call? >&2 | ||
exit 1 | ||
fi | ||
|
||
output=`sacct -j "$jobid" --format State --noheader | head -n 1 | awk '{print $1}'` | ||
|
||
if [[ $output =~ ^(COMPLETED).* ]] | ||
then | ||
echo success | ||
elif [[ $output =~ ^(RUNNING|PENDING|COMPLETING|CONFIGURING|SUSPENDED).* ]] | ||
then | ||
echo running | ||
else | ||
echo failed | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# General configs | ||
seed: 12345 | ||
replicates: 200 | ||
replicates: 1_000 | ||
output_dir: results | ||
|
||
# Contig configs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters