Skip to content

Commit dd6df26

Browse files
authored
remove unused or deprecated code and data (#302)
This PR removes all unused or deprecated code and data to keep the nplinker v2 clean.
1 parent 5e82602 commit dd6df26

File tree

83 files changed

+4
-2101846
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+4
-2101846
lines changed

bin/install-nplinker-deps

+1-26
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,7 @@ echo "🔥 Start installing BigScape ..."
145145
cd BiG-SCAPE-v2
146146
git config --ad advice.detatchedHead false
147147
git checkout 99a4c2e4923bb50e175b2e619c2cee0a14918789 # Commits on Jun 14, 2024
148-
pip install click
149-
pip install sqlalchemy
150-
pip install pyhmmer
151-
pip install tqdm
148+
pip install click sqlalchemy pyhmmer tqdm matplotlib requests
152149
chmod 754 bigscape.py
153150
ln -sf $LIB_PATH/BiG-SCAPE-v2/bigscape.py $PY_PATH/bin/bigscape-v2.py
154151
cd ..
@@ -181,26 +178,4 @@ echo "🔥 Start installing Pfam database ..."
181178
echo -e "✅ Pfam database installed successfully\n"
182179

183180

184-
#--- Install canopus_treemap
185-
echo "🔥 Start installing Canopus"
186-
pip install -U -q canopus@git+https://github.com/kaibioinfo/canopus_treemap.git
187-
echo -e "✅ Canopus installed successfully\n"
188-
189-
190-
#--- Install SIRIUS
191-
echo "🔥 Start installing Sirius"
192-
if [[ "$OSTYPE" == "linux"* ]]; then
193-
wget -q --show-progress https://github.com/boecker-lab/sirius/releases/download/v5.5.5/sirius-5.5.5-linux64-headless.zip
194-
unzip -q -o sirius-5.5.5-linux64-headless.zip
195-
ln -sf $LIB_PATH/sirius/bin/sirius $PY_PATH/bin
196-
rm sirius-5.5.5-linux64-headless.zip
197-
elif [[ "$OSTYPE" == "darwin"* ]]; then
198-
wget -q --show-progress https://github.com/boecker-lab/sirius/releases/download/v5.5.5/sirius-5.5.5-osx64-headless.zip
199-
unzip -q -o sirius-5.5.5-osx64-headless.zip
200-
ln -sf $LIB_PATH/sirius.app/Contents/MacOS/sirius $PY_PATH/bin
201-
rm sirius-5.5.5-osx64-headless.zip
202-
fi
203-
echo -e "✅ Sirius installed successfully\n"
204-
205-
206181
echo -e "✅ 🎉 Successfully installed all NPLinker dependencies and databases!\n"

notebooks/aa_residues.csv

-23
This file was deleted.

notebooks/carnegie-notebooks/high_scoring_links_for_interesting_bgcs_nplinker.ipynb

-596
This file was deleted.
Binary file not shown.
Binary file not shown.

notebooks/carnegie-notebooks/metcalf_by_media_graph.ipynb

-386
This file was deleted.

notebooks/carnegie-notebooks/metcalf_expected_and_variance.ipynb

-151
This file was deleted.

notebooks/carnegie-notebooks/metcalf_std.ipynb

-416
This file was deleted.

notebooks/carnegie-notebooks/simon_plots.ipynb

-850
This file was deleted.

notebooks/crusemann_loading.ipynb

-75
This file was deleted.

notebooks/crusemann_nplinker_iokr.ipynb

-181
This file was deleted.

0 commit comments

Comments
 (0)