FAFBseg tools ============= ``fafbseg`` is a set of Python tools to work with various kinds of segmentation data in the "full adult fly brain" (FAFB) dataset: 1. `FlyWire `_ by the Seung/Murthy labs in Princeton 2. `Google's auto-segmentation `_ 3. `Buhmann et al. (2021) `_ synapse predictions 4. `Eckstein et al. (2023) `_ neurotransmitter predictions Check out the :ref:`introduction` for a brief overview of the FAFB dataset and the :ref:`tutorials` for code examples. Features -------- Here are just some of the things you can do with ``fafbseg``: * map locations or supervoxels to segmentation IDs * load neuron meshes and skeletons * generate high quality neuron meshes and skeletons from scratch * query connectivity and annotations * parse and generate FlyWire neuroglancer URLs * transform neurons from FAFB/FlyWire space to other brains spaces (e.g. hemibrain) For a full list of features please see the :ref:`API documentation `. Analyses -------- ``fafbseg`` is built on top of `navis `_, a library for general neuroanatomical analyses and visualisation. Objects (i.e. skeletons, meshes, etc.) can be directly plugged into ``navis``' functions. This in turn enables you among other things to: * extract morphometrics (length, Strahler order, etc.) * split neurons into axon and dendrites * run morphological clustering/matching using NBLAST * plot neurons in 2D and 3D * import neurons into Blender 3D e.g. for making high quality renderings * export to various file formats * ... See the `navis` `tutorials `_ for examples. How to cite ----------- If you use ``fafbseg`` for your publication, please cite the two FlyWire papers and the original FAFB dataset publication. 1. "*Whole-brain annotation and multi-connectome cell typing quantifies circuit stereotypy in Drosophila*" Schlegel *et al.*, bioRxiv (2023); https://doi.org/10.1101/2023.06.27.546055 2. "*Neuronal wiring diagram of an adult brain*" Dorkenwald *et al.*, bioRxiv (2023); https://doi.org/10.1101/2023.06.27.546656 3. "*A Complete Electron Microscopy Volume of the Brain of Adult Drosophila melanogaster*" Zheng *et al.*, Cell (2018); https://doi.org/10.1016/j.cell.2018.06.019 Questions/Issues? ----------------- Open an `issue `_ in ``fafbseg``'s Github repository. .. toctree:: :hidden: :maxdepth: 2 source/intro source/install source/gallery source/api .. toctree:: :caption: Development :hidden: Source code Changelog