Skip to content

Commit

Permalink
update PLASDB build script
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jan 11, 2024
1 parent 2f378c2 commit acac0c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions db-scripts/build-plasmids-db-plsdb.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@

echo "Download plasmid sequences..."
wget -O plasmids-plsdb.zip https://ccb-microbe.cs.uni-saarland.de/plsdb/plasmids/download/?zip
wget -O plasmids-plsdb.bz2 https://ccb-microbe.cs.uni-saarland.de/plsdb/plasmids/download/plsdb.fna.bz2

echo "Unzip plasmid sequences..."
unzip plasmids-plsdb.zip
blastdbcmd -entry all -db plsdb.fna -out plsdb.fna
bunzip2 plsdb.fna.bz2
nextflow run $REFERENCE_SEEKER_HOME/db-scripts/build-plasmids-db-plsdb.nf --plasmids plsdb.fna || { echo "Nextflow failed!"; exit; }

mash paste db sketches/*.msh || { echo "Mash failed!"; exit; }

rm -rf work/ .nextflow* sketches/ plsdb* README.md
rm -rf work/ .nextflow* sketches/ plsdb.fna

mv db.msh plasmids-plsdb/

Expand Down

0 comments on commit acac0c7

Please sign in to comment.