Skip to content

Commit

Permalink
remove unused or deprecated code and data (#302)
Browse files Browse the repository at this point in the history
This PR removes all unused or deprecated code and data to keep the nplinker v2 clean.
  • Loading branch information
CunliangGeng authored Jan 22, 2025
1 parent 5e82602 commit dd6df26
Show file tree
Hide file tree
Showing 83 changed files with 4 additions and 2,101,846 deletions.
27 changes: 1 addition & 26 deletions bin/install-nplinker-deps
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ echo "🔥 Start installing BigScape ..."
cd BiG-SCAPE-v2
git config --ad advice.detatchedHead false
git checkout 99a4c2e4923bb50e175b2e619c2cee0a14918789 # Commits on Jun 14, 2024
pip install click
pip install sqlalchemy
pip install pyhmmer
pip install tqdm
pip install click sqlalchemy pyhmmer tqdm matplotlib requests
chmod 754 bigscape.py
ln -sf $LIB_PATH/BiG-SCAPE-v2/bigscape.py $PY_PATH/bin/bigscape-v2.py
cd ..
Expand Down Expand Up @@ -181,26 +178,4 @@ echo "🔥 Start installing Pfam database ..."
echo -e "✅ Pfam database installed successfully\n"


#--- Install canopus_treemap
echo "🔥 Start installing Canopus"
pip install -U -q canopus@git+https://github.com/kaibioinfo/canopus_treemap.git
echo -e "✅ Canopus installed successfully\n"


#--- Install SIRIUS
echo "🔥 Start installing Sirius"
if [[ "$OSTYPE" == "linux"* ]]; then
wget -q --show-progress https://github.com/boecker-lab/sirius/releases/download/v5.5.5/sirius-5.5.5-linux64-headless.zip
unzip -q -o sirius-5.5.5-linux64-headless.zip
ln -sf $LIB_PATH/sirius/bin/sirius $PY_PATH/bin
rm sirius-5.5.5-linux64-headless.zip
elif [[ "$OSTYPE" == "darwin"* ]]; then
wget -q --show-progress https://github.com/boecker-lab/sirius/releases/download/v5.5.5/sirius-5.5.5-osx64-headless.zip
unzip -q -o sirius-5.5.5-osx64-headless.zip
ln -sf $LIB_PATH/sirius.app/Contents/MacOS/sirius $PY_PATH/bin
rm sirius-5.5.5-osx64-headless.zip
fi
echo -e "✅ Sirius installed successfully\n"


echo -e "✅ 🎉 Successfully installed all NPLinker dependencies and databases!\n"
23 changes: 0 additions & 23 deletions notebooks/aa_residues.csv

This file was deleted.

This file was deleted.

Binary file removed notebooks/carnegie-notebooks/hinton_media_both.png
Binary file not shown.
Binary file not shown.
386 changes: 0 additions & 386 deletions notebooks/carnegie-notebooks/metcalf_by_media_graph.ipynb

This file was deleted.

151 changes: 0 additions & 151 deletions notebooks/carnegie-notebooks/metcalf_expected_and_variance.ipynb

This file was deleted.

416 changes: 0 additions & 416 deletions notebooks/carnegie-notebooks/metcalf_std.ipynb

This file was deleted.

850 changes: 0 additions & 850 deletions notebooks/carnegie-notebooks/simon_plots.ipynb

This file was deleted.

75 changes: 0 additions & 75 deletions notebooks/crusemann_loading.ipynb

This file was deleted.

181 changes: 0 additions & 181 deletions notebooks/crusemann_nplinker_iokr.ipynb

This file was deleted.

Loading

0 comments on commit dd6df26

Please sign in to comment.