for manuscript Social network plasticity decreases disease transmission in a eusocial insect 65;6003;1c
The repository https://github.com/laurentkeller/anttrackingUNIL contains tools for the processing and analysis of automated tracking data.
The project contains a cmake build system. Preferably cmake is used, because it allows to install the header files, so the trk-vid-overlay project (which also contains a cmake build system) can be compiled very easily as well. The minimum cmake version required is 3.10, but it might be possible to use an older version. In that case, the first line in the file anttrackingUNIL/CMakeLists.txt needs to be changed accordingly. cmake can be downloaded here: cmake.org or on ubuntu via "sudo apt install cmake". Instructions for compilation without cmake are given below.
- Navigate to the project folder
cd anttrackingUNIL
- Make and enter build folder
mkdir build
cd build
- Generate
cmake ..
- Compile
make
- Optionally, but recommended if trk-vid-overlay needs to be compiled later on, install the headers and
atrkutil
library
sudo make install
- The executables can be found in anttrackingUNIL/build/bin, for usage instructions type for example:
./change_tagid
- Download and unzip or clone the repository content (anttrackingUNIL-master.zip file)
- Create a folder which will hold all executables files (the full path to that folder is later referred to as
build
) - Open a command window and navigate to the anttrackingUNIL-master folder
- Run the following commands:
cd src
mkdir build
g++ -o build/change_tagid change_tagid.cpp exception.cpp utils.cpp datfile.cpp tags3.cpp -I ../inc;
g++ -o build/controldat controldat.cpp datfile.cpp tags3.cpp exception.cpp -I ../inc;
g++ -o build/define_death define_death.cpp exception.cpp datfile.cpp tags3.cpp utils.cpp -I ../inc
g++ -o build/filter_interactions_cut_immobile filter_interactions_cut_immobile.cpp exception.cpp tags3.cpp utils.cpp -I ../inc;
g++ -o build/filter_interactions_no_cut filter_interactions_no_cut.cpp exception.cpp tags3.cpp utils.cpp -I ../inc;
g++ -o build/heatmap3_tofile heatmap3_tofile.cpp datfile.cpp exception.cpp tags3.cpp histogram.cpp statistics.cpp utils.cpp -I ../inc;
g++ -o build/interaction_all_close_contacts interaction_all_close_contacts.cpp exception.cpp tags3.cpp utils.cpp -I ../inc;
g++ -o build/interaction_any_overlap interaction_any_overlap.cpp exception.cpp tags3.cpp utils.cpp -I ../inc;
g++ -o build/interaction_close_front_contacts interaction_close_front_contacts.cpp exception.cpp tags3.cpp utils.cpp -I ../inc;
g++ -o build/time_investment time_investment.cpp exception.cpp utils.cpp plume.cpp datfile.cpp tags3.cpp -I ../inc;
g++ -o build/trackconverter trackconverter_modular.cpp exception.cpp tags3.cpp utils.cpp trackconverter_functions.cpp -I ../inc;
g++ -o build/trajectory trajectory.cpp datfile.cpp exception.cpp tags3.cpp -I ../inc;
g++ -o build/zone_converter zone_converter.cpp exception.cpp utils.cpp plume.cpp datfile.cpp -I ../inc;
- The executables are then built in the folder anttrackingUNIL/src/build/, for usage instructions type for example:
./change_tagid
AntOrient is the fruit of a collaboration with Alessandro Crespi and the original sources are hosted on https://github.com/daniellemersch/AntOrient .
Please note, since there are no license for AntOrient yet, the license in this repository (GPLv3) does not apply to AntOrient. It means that you need to ask permission to both copyright holders to use AntOrient.
You need to install wxWidgets 3.0.0 beforehand. On Ubuntu/Debian, you can do as described here: https://wiki.codelite.org/pmwiki.php/Main/WxWidgets30Binaries#toc2
AntOrient sources are accessible thorugh a git submodule.
git submodule update --init
Sources will be downloaded in a new AntOrient
subdirectory.
In the command window, navigate to the Antorient folder, and run the following commands:
cd AntOrient
make clean
make
Copy the executable file named 'datcorr', which was produced within the Antorient folder during step 7, into the build folder
- Download the Plume folder on your computer
- Double-click on the Plume.exe executable