SNAP: a structure-based neuron morphology reconstruction automatic pruning pipeline