Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reruns and vm setup #45

Merged
merged 29 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e107b21
add bucket var
hector-baez Nov 13, 2023
d1ccfcc
deduplicate asv
hector-baez Nov 14, 2023
68561a5
catch empty folders
hector-baez Nov 14, 2023
3ba46c7
add new files to checksum file
hector-baez Nov 17, 2023
abd6435
removed hardcoded paired dir
hector-baez Nov 18, 2023
13f5480
add unpaired rerun
hector-baez Nov 18, 2023
f33b080
fix suffix
hector-baez Nov 18, 2023
fd0d0ee
move vm setup to t-rex-monitor
hector-baez Nov 18, 2023
616f869
fix paths
hector-baez Nov 19, 2023
e3f6329
rename var
hector-baez Nov 19, 2023
9d2031d
rewrite line in awk
hector-baez Nov 19, 2023
ede462e
add echo debug statements
hector-baez Nov 20, 2023
0f38dbd
fix asv deduplicate step
hector-baez Nov 21, 2023
a45069b
add deduplicated rows to old asv's
hector-baez Nov 28, 2023
7522940
change w to r
hector-baez Nov 29, 2023
e2b9b19
add padding to asv files
hector-baez Nov 29, 2023
9538e58
change paste to cat
hector-baez Nov 29, 2023
0c62d1f
update shutil move
hector-baez Nov 29, 2023
befe1ce
modify asv in python
hector-baez Nov 29, 2023
8944d57
get first value in dict
hector-baez Nov 29, 2023
74147f7
get len of arr
hector-baez Nov 29, 2023
4a49504
convert int to str
hector-baez Nov 30, 2023
02a0cb5
fix asv formatting
hector-baez Nov 30, 2023
97d00da
calc seq length
hector-baez Nov 30, 2023
8c57b18
mv qcassign to flask repo
hector-baez Dec 4, 2023
e8b605d
fix rc double processing
hector-baez Dec 4, 2023
78a7eaf
copy files for rc
hector-baez Dec 4, 2023
8c7ab0f
check for remaining blast jobs
hector-baez Dec 5, 2023
bae2a58
modify ac parameters
hector-baez Dec 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions autoscale.sh

This file was deleted.

9 changes: 5 additions & 4 deletions crux/app/blast/blast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ fi
# cleanup
rm -rf $JOB

#TODO: check if blast folder has (142*108) files
total=$((ECOPCRLINKS * NTOTAL))
actual=$(aws s3 ls s3://$BUCKET/CruxV2/$RUNID/$PRIMER/blast --recursive --endpoint-url https://js2.jetstream-cloud.org:8001/ | grep -v -e "CruxV2/$RUNID/$PRIMER/blast/logs" -e ".*tax.tsv" | wc -l)
if [ "$total" -eq "$actual" ]; then
# check there's no other running jobs
currentJobs=$(ben list -s /tmp/ben-assign -t r | grep -c "$PROJECTID") # should be 1
pendingJobs=$(ben list -s /tmp/ben-assign -t p | grep -c "$PROJECTID") # should be 0
totalJobs=$((currentJobs + pendingJobs))
if [ "$totalJobs" -eq "1" ]; then
#start dereplicate step
cd /mnt/dereplicate
./dereplicate.sh -j $PRIMER-dereplicate -i $RUNID -p $PRIMER -b /tmp/ben-ac -B /tmp/ben-newick
Expand Down
3 changes: 3 additions & 0 deletions crux/app/blast/dereplicate/dereplicate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ if [ ! -d "taxid2taxonpath" ] ; then
fi

cat $JOB/blast/* >> $JOB/$PRIMER.fa
rm -r $JOB/blast/
# remove null bytes
sed -i '/\x0/d' "$JOB/$PRIMER.fa"

python3 fix-fasta.py --input $JOB/$PRIMER.fa --output $JOB/$PRIMER.fasta --log logs

Expand Down
70 changes: 0 additions & 70 deletions crux/main/crux-pssh.sh

This file was deleted.

72 changes: 0 additions & 72 deletions crux/main/dismantle_instance.sh

This file was deleted.

130 changes: 0 additions & 130 deletions crux/main/setup_instance.sh

This file was deleted.

Loading