The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics.
The 4 matches
- [1] § Methods › Cryo-electron tomography ↔ branch_detection_validation/branch_analysis.ipynb, lines 58–177 · score 0.79 · maximal distance, closest points, actin point, extrapolating, intersection, candidates
- [2] § Methods › Cryo-electron tomography ↔ jupyter_based_processing/filament_segmentation_to_coordinates/jupyter/filament_segmentation_to_coordinates.ipynb, lines 42–147 · score 0.73 · Bspline fit, branch points, eroded, equidistant, skeletonized, labelled
- [3] § Methods › Cryo-electron tomography ↔ jupyter_based_processing/filament_segmentation_to_coordinates/cluster_python/filament_segmentation_to_coordinates.py, lines 91–153 · score 0.60 · Bspline fit, equidistant, skeletonized, labelled, resampled, orientations
- [4] § Methods › Magnetic pincher ↔ Code_Python/TrackAnalyser.py, lines 959–1012 · score 0.55 · cortex thickness, relaxation, tracking, compression, median, field
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 557 lines · 30 KB · GPL-3.0 · 1 match
- # %% [markdown]
- # # Branch Analysis
- #
- # ##### This script identifies branch points on filaments. Credits to Marc Siggel (Kosinski/Mahamid lab) for the initial translation of matlab code to python.
- # %% [markdown]
- # ## Initialization
- # %%
- import numpy as np
- import pandas as pd
- from scipy.spatial.distance import cdist
- import os
- # %% [markdown]
- # ## Helper Functions
- # %%
- def distance_of_two_lines(e1, e2, r1, r2):
- # r1, r2 = Point where the line passes through
- # e1, e2 = Direction vector
- # Find the unit vector perpendicular to both lines
- n = np.cross(e1, e2)
- n /= np.linalg.norm(n)
- # Calculate distance
- d = abs(np.dot(n, r1 - r2))
- return d
- # normalize to vector
- def unit_vector(vector):
- return vector / np.linalg.norm(vector)
- # find angle between two vectors (undirectionla)
- def angle_between(v1, v2):
- v1_u = unit_vector(v1)
- v2_u = unit_vector(v2)
- angle = np.degrees(np.arccos(np.clip(np.dot(v1_u, v2_u), -1.0, 1.0)))
- if angle > 90:
- angle = 180 - angle
- return angle
- # write bild file for chimera visualization
- def write_bild_file(list_of_fragments, output_filename, downscale=1.34808, diameter=1, color="gold"):
- bild_file = ".color {}\n".format(color)
- #print(positions)
- for fragment in list_of_fragments:
- for i in range(len(fragment)-1):
- #print(positions[i])
- bild_file += ".cylinder {} {} {} {} {} {} {}\n".format(fragment[i][0]/downscale, fragment[i][1]/downscale, fragment[i][2]/downscale, fragment[i+1][0]/downscale, fragment[i+1][1]/downscale, fragment[i+1][2]/downscale, diameter)
- text_file = open(output_filename, "w")
- text_file.write(bild_file)
- text_file.close()
- return
- #branch analysis
- def branch_analysis(array, cutoff, cutoff_branch, angle_cutoff, voxel_size = 1.34808):
- """ cutoff: cutoff of actin points within a tip whihc are considered
- cutoff_branch: maximal distance of the two extrapolated line segments at their closest point.
- (Note: perfect intersection is unlikely but small error margin is allowed for)
- (This avoids any false positives where the actin passes behind another filament)
- angle_cutoff: min angle between the two actin segments (max 90 degreess)
- Returns: the branch count
- """
- candidates_per_filament = []
- all_results = [] # indicies of all points that belong to a branch for visualization
- tip_for_viz = [] # list of points for filament tip visualization
- branch_index = 0 # running_index of the branches use because heterogeneous loop
- all_angles_list = []
- mother_intersect_point = [] # list of all points on mother filaments that is a branch intersection
- all_tip_coordinates = [] # list of filament tip coordinates
- # generate list of 3 points at the beginning or end of each filament
- for fil_idx in array["fil_idx"].unique():
- points = array[array["fil_idx"] == fil_idx][["X_coord", "Y_coord", "Z_coord"]] .to_numpy()
- end1 = points[0:4]
- end2 = points[-3:]
- all_tip_coordinates.append(end1)
- all_tip_coordinates.append(end2)
- all_tip_coordinates = np.vstack(all_tip_coordinates)
- # identify branches
- for fil_idx in array["fil_idx"].unique():
- current_fil = array.index[array["fil_idx"] == fil_idx].to_numpy() #point index on current filament
- points = array[array["fil_idx"] == fil_idx][["X_coord", "Y_coord", "Z_coord"]].to_numpy() #coordinates of points on current filament
- all_points_coord = array[["X_coord", "Y_coord", "Z_coord"]].to_numpy()
- tip1 = np.array([points[0]]) #tip 1 coordinates
- tip2 = np.array([points[-1]]) #tip 2 coordinates
- # list of points for visualizing each tip
- points_for_viz_tip1 = points[0:7]
- points_for_viz_tip2 = points[-8:]
- tip_for_viz.append(points_for_viz_tip1)
- tip_for_viz.append(points_for_viz_tip2)
- below_cutoff_tip1 = np.argwhere(cdist(tip1, all_points_coord) < cutoff)[:,1] #index of points of dist below cutoff fom tip 1
- below_cutoff_tip2 = np.argwhere(cdist(tip2, all_points_coord) < cutoff)[:,1] #index of points of dist below cutoff from tip 2
- not_overlap_tip1 = list(set(below_cutoff_tip1) - set(current_fil)) #excluding points on the same filament
- not_overlap_tip2 = list(set(below_cutoff_tip2) - set(current_fil)) #excluding points on the same filament
- if len(not_overlap_tip1) != 0:
- not_overlap_tip1 = np.sort(not_overlap_tip1)
- filament_indices = array.iloc[not_overlap_tip1]["fil_idx"].to_numpy()
- # here we analyze all candidates for a specfic tip.
- for fil_index in np.unique(filament_indices):
- candidate = not_overlap_tip1[filament_indices == fil_index] #all points on potential mother filament
- central_index = candidate[int(len(candidate)/2)] #center point index
- connection_indices = array.iloc[np.max([central_index-5,0]):central_index+5] #5 points before and after center
- connection_indices = connection_indices[connection_indices["fil_idx"] == fil_index] #make sure they're on the potential mother filament
- connection_points = connection_indices[["X_coord", "Y_coord", "Z_coord"]].to_numpy() #get coordinates of mother filament points
- vector_tip = points_for_viz_tip1[0] - points_for_viz_tip1[-1] #vector of orientation at tip/branch point
- vector_connection = connection_points[0] - connection_points[-1] #vector of orientation at connection point of mother filament
- line_dist = distance_of_two_lines(vector_tip, vector_connection, points_for_viz_tip1[0], connection_points[0]) # calculate min distance from projected distance from line vec
- line_angle = angle_between(vector_tip, vector_connection) #angle between two vectors
- closest = connection_points[np.argmin(cdist(tip1,connection_points)[0])] #closest point to tip from potential mother filament
- # check if the identified mother-daughter combination is already in the results set. If yes, skip to next.
- if len(all_results) == 0:
- pass
- else:
- all_stacked_results = np.vstack(all_results)
- if len(np.intersect1d(points_for_viz_tip1, all_stacked_results)) != 0 and len(np.intersect1d(connection_points, all_stacked_results)) != 0:
- continue
- # if the mother-daughter pair satisfies all criteria on distance and angle, and the mother closest point is not a tip, identify this as a branch
- if line_dist <= cutoff_branch and line_angle > angle_cutoff and len(np.intersect1d(closest,all_tip_coordinates)) == 0:
- all_results.append(points_for_viz_tip1)
- all_results.append(connection_points)
- mother_intersect_point.append(array.iloc[central_index][["X_coord", "Y_coord", "Z_coord"]].to_numpy())
- branch_index += 1
- # repeat above with the other tip
- if len(not_overlap_tip2) != 0:
- not_overlap_tip2 = np.sort(not_overlap_tip2)
- filament_indices = array.iloc[not_overlap_tip2]["fil_idx"].to_numpy()
- for fil_index in np.unique(filament_indices):
- candidate = not_overlap_tip2[filament_indices == fil_index]
- central_index = candidate[int(len(candidate)/2)]
- connection_indices = array[np.max([central_index-5,0]):central_index+5]
- connection_indices = connection_indices[connection_indices["fil_idx"] == fil_index]
- connection_points = connection_indices[["X_coord", "Y_coord", "Z_coord"]].to_numpy()
- vector_tip = points_for_viz_tip2[0] - points_for_viz_tip2[-1]
- vector_connection = connection_points[0] - connection_points[-1]
- line_dist = distance_of_two_lines(vector_tip, vector_connection, points_for_viz_tip2[0], connection_points[0])
- line_angle = angle_between(vector_tip, vector_connection)
- closest = connection_points[np.argmin(cdist(tip2,connection_points)[0])]
- if len(all_results) == 0:
- pass
- else:
- all_stacked_results = np.vstack(all_results)
- if len(np.intersect1d(points_for_viz_tip2,all_stacked_results)) != 0 and len(np.intersect1d(connection_points,all_stacked_results)) != 0:
- continue
- if line_dist <= cutoff_branch and line_angle > angle_cutoff and len(np.intersect1d(closest,all_tip_coordinates)) == 0:
- all_results.append(points_for_viz_tip2)
- all_results.append(connection_points)
- mother_intersect_point.append(array.iloc[central_index][["X_coord", "Y_coord", "Z_coord"]].to_numpy())
- branch_index += 1
- # add branch information into point csv, a point is only considered a branch point if it is a point on the mother filament at which the branch occurs
- is_intersect_point = np.zeros(len(array))
- for i in range(len(is_intersect_point)):
- if len(mother_intersect_point) == 0:
- break
- if ((mother_intersect_point == array.iloc[i][["X_coord", "Y_coord", "Z_coord"]].to_numpy()).all(axis = 1)).any(): #check if coordinates match between intesect point array and each point
- is_intersect_point[i] = 1
- array['branch'] = is_intersect_point
- return branch_index, array, all_results
- #branch analysis
- def branch_analysis_without_endpoint_suppression(array, cutoff, cutoff_branch, angle_cutoff, voxel_size = 1.34808):
- """ cutoff: cutoff of actin points within a tip whihc are considered
- cutoff_branch: maximal distance of the two extrapolated line segments at their closest point.
- (Note: perfect intersection is unlikely but small error margin is allowed for)
- (This avoids any false positives where the actin passes behind another filament)
- angle_cutoff: min angle between the two actin segments (max 90 degreess)
- Returns: the branch count
- """
- candidates_per_filament = []
- all_results = [] # indicies of all points that belong to a branch for visualization
- tip_for_viz = [] # list of points for filament tip visualization
- branch_index = 0 # running_index of the branches use because heterogeneous loop
- all_angles_list = []
- mother_intersect_point = [] # list of all points on mother filaments that is a branch intersection
- all_tip_coordinates = [] # list of filament tip coordinates
- # generate list of 3 points at the beginning or end of each filament
- for fil_idx in array["fil_idx"].unique():
- points = array[array["fil_idx"] == fil_idx][["X_coord", "Y_coord", "Z_coord"]] .to_numpy()
- end1 = points[0:4]
- end2 = points[-3:]
- all_tip_coordinates.append(end1)
- all_tip_coordinates.append(end2)
- all_tip_coordinates = np.vstack(all_tip_coordinates)
- # identify branches
- for fil_idx in array["fil_idx"].unique():
- current_fil = array.index[array["fil_idx"] == fil_idx].to_numpy() #point index on current filament
- points = array[array["fil_idx"] == fil_idx][["X_coord", "Y_coord", "Z_coord"]].to_numpy() #coordinates of points on current filament
- all_points_coord = array[["X_coord", "Y_coord", "Z_coord"]].to_numpy()
- tip1 = np.array([points[0]]) #tip 1 coordinates
- tip2 = np.array([points[-1]]) #tip 2 coordinates
- # list of points for visualizing each tip
- points_for_viz_tip1 = points[0:7]
- points_for_viz_tip2 = points[-8:]
- tip_for_viz.append(points_for_viz_tip1)
- tip_for_viz.append(points_for_viz_tip2)
- below_cutoff_tip1 = np.argwhere(cdist(tip1, all_points_coord) < cutoff)[:,1] #index of points of dist below cutoff fom tip 1
- below_cutoff_tip2 = np.argwhere(cdist(tip2, all_points_coord) < cutoff)[:,1] #index of points of dist below cutoff from tip 2
- not_overlap_tip1 = list(set(below_cutoff_tip1) - set(current_fil)) #excluding points on the same filament
- not_overlap_tip2 = list(set(below_cutoff_tip2) - set(current_fil)) #excluding points on the same filament
- if len(not_overlap_tip1) != 0:
- not_overlap_tip1 = np.sort(not_overlap_tip1)
- filament_indices = array.iloc[not_overlap_tip1]["fil_idx"].to_numpy()
- # here we analyze all candidates for a specfic tip.
- for fil_index in np.unique(filament_indices):
- candidate = not_overlap_tip1[filament_indices == fil_index] #all points on potential mother filament
- central_index = candidate[int(len(candidate)/2)] #center point index
- connection_indices = array.iloc[np.max([central_index-5,0]):central_index+5] #5 points before and after center
- connection_indices = connection_indices[connection_indices["fil_idx"] == fil_index] #make sure they're on the potential mother filament
- connection_points = connection_indices[["X_coord", "Y_coord", "Z_coord"]].to_numpy() #get coordinates of mother filament points
- vector_tip = points_for_viz_tip1[0] - points_for_viz_tip1[-1] #vector of orientation at tip/branch point
- vector_connection = connection_points[0] - connection_points[-1] #vector of orientation at connection point of mother filament
- line_dist = distance_of_two_lines(vector_tip, vector_connection, points_for_viz_tip1[0], connection_points[0]) # calculate min distance from projected distance from line vec
- line_angle = angle_between(vector_tip, vector_connection) #angle between two vectors
- closest = connection_points[np.argmin(cdist(tip1,connection_points)[0])] #closest point to tip from potential mother filament
- # check if the identified mother-daughter combination is already in the results set. If yes, skip to next.
- if len(all_results) == 0:
- pass
- else:
- all_stacked_results = np.vstack(all_results)
- if len(np.intersect1d(points_for_viz_tip1, all_stacked_results)) != 0 and len(np.intersect1d(connection_points, all_stacked_results)) != 0:
- continue
- # if the mother-daughter pair satisfies all criteria on distance and angle, and the mother closest point is not a tip, identify this as a branch
- if line_dist <= cutoff_branch and line_angle > angle_cutoff:
- all_results.append(points_for_viz_tip1)
- all_results.append(connection_points)
- mother_intersect_point.append(array.iloc[central_index][["X_coord", "Y_coord", "Z_coord"]].to_numpy())
- branch_index += 1
- # repeat above with the other tip
- if len(not_overlap_tip2) != 0:
- not_overlap_tip2 = np.sort(not_overlap_tip2)
- filament_indices = array.iloc[not_overlap_tip2]["fil_idx"].to_numpy()
- for fil_index in np.unique(filament_indices):
- candidate = not_overlap_tip2[filament_indices == fil_index]
- central_index = candidate[int(len(candidate)/2)]
- connection_indices = array[np.max([central_index-5,0]):central_index+5]
- connection_indices = connection_indices[connection_indices["fil_idx"] == fil_index]
- connection_points = connection_indices[["X_coord", "Y_coord", "Z_coord"]].to_numpy()
- vector_tip = points_for_viz_tip2[0] - points_for_viz_tip2[-1]
- vector_connection = connection_points[0] - connection_points[-1]
- line_dist = distance_of_two_lines(vector_tip, vector_connection, points_for_viz_tip2[0], connection_points[0])
- line_angle = angle_between(vector_tip, vector_connection)
- closest = connection_points[np.argmin(cdist(tip2,connection_points)[0])]
- if len(all_results) == 0:
- pass
- else:
- all_stacked_results = np.vstack(all_results)
- if len(np.intersect1d(points_for_viz_tip2,all_stacked_results)) != 0 and len(np.intersect1d(connection_points,all_stacked_results)) != 0:
- continue
- if line_dist <= cutoff_branch and line_angle > angle_cutoff:
- all_results.append(points_for_viz_tip2)
- all_results.append(connection_points)
- mother_intersect_point.append(array.iloc[central_index][["X_coord", "Y_coord", "Z_coord"]].to_numpy())
- branch_index += 1
- # add branch information into point csv, a point is only considered a branch point if it is a point on the mother filament at which the branch occurs
- is_intersect_point = np.zeros(len(array))
- for i in range(len(is_intersect_point)):
- if len(mother_intersect_point) == 0:
- break
- if ((mother_intersect_point == array.iloc[i][["X_coord", "Y_coord", "Z_coord"]].to_numpy()).all(axis = 1)).any(): #check if coordinates match between intesect point array and each point
- is_intersect_point[i] = 1
- array['branch'] = is_intersect_point
- return branch_index, array, all_results
- #calculate actin length
- def calc_length_all_actin(array, voxel_size = 1.34808):
- """calculates the lengtht of all actins (loop over other fxn)"""
- length_list = []
- positions_bild = []
- for fil in array["fil_idx"].unique():
- # pick points of single filament
- points = array[["X_coord", "Y_coord", "Z_coord"]][array["fil_idx"] == fil].to_numpy()
- # vectorized numpy computation of distances
- d = np.diff(points, axis=0)
- segdists = np.sqrt((d ** 2).sum(axis=1))
- # sum parrtial distances between points
- full_dist = np.sum(segdists)
- length_list.append(full_dist)
- positions_bild.append(points)
- # sum all filaments
- full_length = np.sum(length_list) #total actin length
- return full_length, positions_bild
- # %% [markdown]
- # ## Variable setup
- # %%
- # list of conditions to compare, if no comparison is needed just enter [""] - the empty quotation within the array is important
- conditions = [""]
- # list of samples in each condition, each in a separate list; if only one condition is needed it should be [[tomograms]]
- tomo_list = [["TS_11", "TS_12", "TS_13", "TS_14"]]
- # directory where resampled actin csv files are stored
- actin_csv_dir = "/g/scb/mahamid/Dorothy/MCA_Project/Branching_validation/20231016_branch_verficiation_more_actin"
- # prefix and suffix of actin file, such as the csv file name is prefix_tomoname_suffix.csv for each file, where tomoname is the name entered in tomo_list
- actin_file_prefix = ""
- actin_file_suffix = "_coord"
- # if separate cell analysis is not needed, enter [""] - the empty quotation within the array is important
- cell_suffix = [""]
- # directory where membrane csv files are stored
- memb_csv_dir = ""
- # prefix and suffix of membrane files, such as the csv file name is prefix_tomoname_suffix_memb_1/2.csv for each file, where tomoname is the name entered in tomo_list
- memb_file_prefix = ""
- memb_file_suffix = ""
- # output directory for output files
- out_dir = "/g/scb/mahamid/Dorothy/MCA_Project/Branching_validation/20231016_branch_verficiation_more_actin"
- # voxel size in sample to be analyzed
- voxel_size = 1.3544
- # maximum standard distance between mother and daughter filament, in nm
- cutoff_std = 35
- #cutoff_test = [5, 10, 15, 20, 25]
- cutoff_test = [35]
- # maximum standard vertical distance at closest point for mother and daughter filament, in nm
- cutoff_branch_std = 3
- # cutoff_branch_test = [3,5,8,10]
- cutoff_branch_test = [3]
- # minimum standard angle between mother and daughter filament
- angle_cutoff_std = 50
- # angle_cutoff_test = [50, 60, 70]
- angle_cutoff_test = [50]
- # %% [markdown]
- # ## Main code
- # ##### This code analyzes the number of branches in each tomogram (or in each cell per tomogram, as needed). The actin csv file is updated with a column "branches" which shows 1 if a point is considered a branch point on a mother filament and 0 otherwise. A csv file "branch_analysis" is created to summarize the number of branches and the number of branches per actin length in each tomogrm/cell.
- # %%
- # set up data frame
- df = pd.DataFrame({"condition": [], "cutoff": [], "cutoff_branch": [], "angle_cutoff": [], "cell": [], "num_branch_point": [], "branch_fraction": []})
- # create test conditions with different cutoff values (maintaining the same cutoff_branch and angle_cutoff)
- list_of_test_conditions = []
- for cutoff in cutoff_test:
- cutoff_branch = cutoff_branch_std
- angle_cutoff = angle_cutoff_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- # create test conditions with different cutoff_branch values (maintaining the same cutoff and angle_cutoff)
- for cutoff_branch in cutoff_branch_test:
- cutoff = cutoff_std
- angle_cutoff = angle_cutoff_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- # create test conditions with different angle_cutoff values (maintaining the same cutoff and cutoff_branch)
- for angle_cutoff in angle_cutoff_test:
- cutoff = cutoff_std
- cutoff_branch = cutoff_branch_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- print(list_of_test_conditions)
- for i, condition in enumerate(conditions):
- # for storing results
- list_of_tomo = []
- list_of_num_branch_points = []
- list_of_branch_fraction = []
- list_of_conditions = []
- list_of_cutoff = []
- list_of_cutoff_branch = []
- list_of_angle_cutoff = []
- # run function for all sample files for each test condition
- for (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- for tomo in tomo_list[i]:
- for cell in cell_suffix:
- suffix = "" + cell
- print("Analyzing {}{} with conditions cutoff {}, cutoff_branch {}, angle_cutoff {}".format(tomo, suffix, cutoff, cutoff_branch, angle_cutoff))
- list_of_conditions.append(condition)
- list_of_tomo.append(tomo + suffix)
- list_of_cutoff.append(cutoff)
- list_of_cutoff_branch.append(cutoff_branch)
- list_of_angle_cutoff.append(angle_cutoff)
- # read data
- actin = pd.read_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), delimiter = ",")
- # calculate full length
- full_length, positions = calc_length_all_actin(actin, voxel_size)
- # perform branch analysis
- branch_index, actin, branch_positions = branch_analysis(actin, cutoff, cutoff_branch, angle_cutoff, voxel_size)
- list_of_num_branch_points.append(branch_index)
- list_of_branch_fraction.append(float(branch_index)/float(full_length))
- # write result summray
- df_condition = pd.DataFrame({"condition": list_of_conditions, "cutoff": list_of_cutoff, "cutoff_branch": list_of_cutoff_branch, "angle_cutoff": list_of_angle_cutoff, "cell": list_of_tomo, "num_branch_point": list_of_num_branch_points, "branch_fraction": list_of_branch_fraction})
- df = pd.concat([df, df_condition], axis = 0)
- df.to_csv(os.path.join(out_dir, "branch_analysis.csv"), sep = ",", index = False)
- # re-calculate and save data for the main conditions
- for tomo in tomo_list[0]:
- # read data
- actin = pd.read_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), delimiter = ",")
- # calculate full length
- full_length, positions = calc_length_all_actin(actin, voxel_size)
- # perform branch analysis
- branch_index, actin, branch_positions = branch_analysis(actin, cutoff_std, cutoff_branch_std, angle_cutoff_std, voxel_size)
- list_of_num_branch_points.append(branch_index)
- list_of_branch_fraction.append(float(branch_index)/float(full_length))
- # write bild files of branches
- write_bild_file(branch_positions, os.path.join(out_dir, "{}_branches.bild".format(tomo + suffix)), downscale=voxel_size, diameter=4, color="gold")
- # update actin csv with branch information
- actin.to_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), sep = ",", index = False)
- # %% [markdown]
- # ##### This code performs the same calculation as above, but uses no endpoint suppression in branch detection. That is, it does not exclude detected branch points where the intersection point is at the tip of the mother and daugher filament. Note that this overwrites the coord.csv file so that the branch points are the ones without endpoint suppression. In order to use branch points with endpoint suppression detection for further processing, skip this step (or re-run the previous step after running this step).
- # %%
- # set up data frame
- df = pd.DataFrame({"condition": [], "cutoff": [], "cutoff_branch": [], "angle_cutoff": [], "cell": [], "num_branch_point": [], "branch_fraction": []})
- # create test conditions with different cutoff values (maintaining the same cutoff_branch and angle_cutoff)
- list_of_test_conditions = []
- for cutoff in cutoff_test:
- cutoff_branch = cutoff_branch_std
- angle_cutoff = angle_cutoff_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- # create test conditions with different cutoff_branch values (maintaining the same cutoff and angle_cutoff)
- for cutoff_branch in cutoff_branch_test:
- cutoff = cutoff_std
- angle_cutoff = angle_cutoff_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- # create test conditions with different angle_cutoff values (maintaining the same cutoff and cutoff_branch)
- for angle_cutoff in angle_cutoff_test:
- cutoff = cutoff_std
- cutoff_branch = cutoff_branch_std
- # check if this condition has already been tested
- if (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- continue
- else:
- list_of_test_conditions.append((cutoff, cutoff_branch, angle_cutoff))
- print(list_of_test_conditions)
- for i, condition in enumerate(conditions):
- # for storing results
- list_of_tomo = []
- list_of_num_branch_points = []
- list_of_branch_fraction = []
- list_of_conditions = []
- list_of_cutoff = []
- list_of_cutoff_branch = []
- list_of_angle_cutoff = []
- # run function for all sample files for each test condition
- for (cutoff, cutoff_branch, angle_cutoff) in list_of_test_conditions:
- for tomo in tomo_list[i]:
- for cell in cell_suffix:
- suffix = "" + cell
- print("Analyzing {}{} with conditions cutoff {}, cutoff_branch {}, angle_cutoff {}".format(tomo, suffix, cutoff, cutoff_branch, angle_cutoff))
- list_of_conditions.append(condition)
- list_of_tomo.append(tomo + suffix)
- list_of_cutoff.append(cutoff)
- list_of_cutoff_branch.append(cutoff_branch)
- list_of_angle_cutoff.append(angle_cutoff)
- # read data
- actin = pd.read_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), delimiter = ",")
- # calculate full length
- full_length, positions = calc_length_all_actin(actin, voxel_size)
- # perform branch analysis
- branch_index, actin, branch_positions = branch_analysis_without_endpoint_suppression(actin, cutoff, cutoff_branch, angle_cutoff, voxel_size)
- list_of_num_branch_points.append(branch_index)
- list_of_branch_fraction.append(float(branch_index)/float(full_length))
- # write result summray
- df_condition = pd.DataFrame({"condition": list_of_conditions, "cutoff": list_of_cutoff, "cutoff_branch": list_of_cutoff_branch, "angle_cutoff": list_of_angle_cutoff, "cell": list_of_tomo, "num_branch_point": list_of_num_branch_points, "branch_fraction": list_of_branch_fraction})
- df = pd.concat([df, df_condition], axis = 0)
- df.to_csv(os.path.join(out_dir, "branch_analysis_without_endpoint_suppression.csv"), sep = ",", index = False)
- # re-calculate and save data for the main conditions
- for tomo in tomo_list[0]:
- # read data
- actin = pd.read_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), delimiter = ",")
- # calculate full length
- full_length, positions = calc_length_all_actin(actin, voxel_size)
- # perform branch analysis
- branch_index, actin, branch_positions = branch_analysis_without_endpoint_suppression(actin, cutoff_std, cutoff_branch_std, angle_cutoff_std, voxel_size)
- list_of_num_branch_points.append(branch_index)
- list_of_branch_fraction.append(float(branch_index)/float(full_length))
- # write bild files of branches
- write_bild_file(branch_positions, os.path.join(out_dir, "{}_branches_without_endpoint_suppression.bild".format(tomo + suffix)), downscale=voxel_size, diameter=4, color="gold")
- # update actin csv with branch information
- actin.to_csv(os.path.join(actin_csv_dir, actin_file_prefix + tomo + actin_file_suffix + suffix + ".csv"), sep = ",", index = False)
branch_analysis.ipynb at commit 819e80c, under GPL-3.0 · at the source
Overview
16 affiliations
- Cell Biology and Biophysics Unit, European Molecular Biology Laboratory (EMBL), Heidelberg, Germany
- Present Address: Institute of Science and Technology Austria (ISTA), Klosterneuburg, Austria
- Molecular Systems Biology Unit, EMBL, Heidelberg, Germany
- EMBL Hamburg, Hamburg, Germany
- Centre for Structural Systems Biology (CSSB), Hamburg, Germany
- Institut Curie, PSL University, CNRS, Paris, France
- Institut Pierre Gilles de Gennes, PSL University, CNRS, Paris, France
- Physique et Mécanique des Milieux Hétérogènes (PMMH), CNRS, ESPCI Paris–Université PSL, Sorbonne Université, Université Paris Cité, Paris, France
- Present Address: Laboratoire Jean Perrin, Institut de Biologie Paris-Seine, Sorbonne Université, 11 CNRS UMR, Paris, France
- Present Address: Institut Jacques Monod, CNRS UMR, Paris, France
- Present Address: Computational Innovation, Boehringer Ingelheim Pharma GmbH & Co. KG, Biberach, Germany
- Present Address: The Francis Crick Institute, London, UK
- Present Address: Department of Cell Biology, Harvard Medical School, Boston, MA USA
- Present Address: Program in Cellular and Molecular Medicine, Boston Children’s Hospital, Boston, MA USA
- Developmental Biology Unit, EMBL, Heidelberg, Germany
- Present Address: Mechanobiology Institute, Department of Biological Sciences, National University of Singapore, Singapore, Singapore
Abstract
The shape of animal cells is controlled by their surface, which comprises the cell cortex, a peripheral actin network, tethered to the plasma membrane by membrane-to-cortex attachment proteins. Changes in cortical components have long been considered to dominate the regulation of forces and mechanical properties at the cell surface and drive morphogenesis. Here, we show that the coupling of the cortex to the membrane is also key for the regulation of its mechanical properties. By combining molecular engineering with biophysical approaches and in-cell cryo-electron tomography we describe the cell surface with nanometer-resolution and link its organization to cell-scale mechanics. We find that membrane-to-cortex attachment proteins can physically draw the cortex closer to the membrane, in a density and length-dependent manner. This reduction of the membrane-to-cortex distance controls the activity of the formin mDia1, leading to a reduction in cortical tension. Our study thus defines a novel mechanism whereby the membrane-to-cortex distance is a functional geometrical parameter that regulates cell surface properties.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
jvermeil-biophys/CortExplore_PublicVersion
ffddc269c9507e067bf38001d2d0619954a59cf8, 11 April 2023Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
19 files
- Code_Python/
Archived_Code/ , Python, 3,122 linesBeadTracker.py - Code_Python/
BeadsCalibration.py , Python, 801 lines - Code_Python/
Code_NewUser/ , Python, 158 linesMainAnalyzer_NewUser.py - Code_Python/
Code_NewUser/ , Python, 125 linesMainDepthoMaker_NewUser. py - Code_Python/
Code_NewUser/ , Python, 1,364 linesMainPlotter_NewUser.py - Code_Python/
Code_NewUser/ , Python, 191 linesMainTracker_NewUser.py - Code_Python/
Code_NewUser2/ , Python, 158 linesMainAnalyzer_NewUser.py - Code_Python/
Code_NewUser2/ , Python, 125 linesMainDepthoMaker_NewUser. py - Code_Python/
Code_NewUser2/ , Python, 1,364 linesMainPlotter_NewUser.py - Code_Python/
Code_NewUser2/ , Python, 191 linesMainTracker_NewUser.py - Code_Python/
CortexPaths.py , Python, 240 lines - Code_Python/
GlobalConstants.py , Python, 30 lines - Code_Python/
GraphicStyles.py , Python, 201 lines - Code_Python/
ImagesPreprocessing.py , Python, 515 lines - Code_Python/
SimpleBeadTracker.py , Python, 2,320 lines - Code_Python/
TrackAnalyser.py , Python, 2,531 lines, 1 match - Code_Python/
UtilityFunctions.py , Python, 1,386 lines - LICENSE, License, 674 lines
- README.md, Text, 32 lines
mahamidlab/actin_cortex_analysis
819e80c9f6eaf55845c0cea39303e55339f683f0, 30 January 2024Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
40 files
- branch_detection_validat
ion/ , Jupyter, 557 lines, 1 matchbranch_analysis.ipynb - branch_detection_validat
ion/ , Jupyter, 120 linesbranch_check_daughter_ex ists.ipynb - branch_detection_validat
ion/ , Jupyter, 77 linesbranch_check_mother_daug hter.ipynb - branch_detection_validat
ion/ , Jupyter, 175 linesbranch_compare.ipynb - branch_detection_validat
ion/ , Jupyter, 207 linesbranches_on_filament.ipy nb - branch_detection_validat
ion/ , Jupyter, 95 linescalculate_local_orientat ion.ipynb - branch_detection_validat
ion/ , Python, 452 linesutils.py - jupyter_based_processing
/ , R, 36 linesR_visualizations/ Memb_actin_dist_ang_line _plot.R - jupyter_based_processing
/ , R, 62 linesR_visualizations/ Memb_actin_dist_plot.R - jupyter_based_processing
/ , R, 60 linesR_visualizations/ Memb_actin_dist_plot_5_b in.R - jupyter_based_processing
/ , R, 171 linesR_visualizations/ Plot_branches.R - jupyter_based_processing
/ , R, 173 linesR_visualizations/ Plot_bundles.R - jupyter_based_processing
/ , R, 189 linesR_visualizations/ R_plots_from_tomogram_su mmary.R - jupyter_based_processing
/ , R, 139 linesR_visualizations/ actin_amount_plot.R - jupyter_based_processing
/ , R, 20 linesR_visualizations/ actin_dist_ang_histogram .R - jupyter_based_processing
/ , R, 32 linesR_visualizations/ individual_cell_memb_act in_dist_plot.R - jupyter_based_processing
/ , Jupyter, 320 linesbranch_analysis/ branch_analysis.ipynb - jupyter_based_processing
/ , Jupyter, 268 linesbundle_analysis/ bundle_analysis.ipynb - jupyter_based_processing
/ , Jupyter, 128 linesbundle_analysis/ bundle_identification.ip ynb - jupyter_based_processing
/ , Shell, not shown herefilament_segmentation_to _coordinates/ cluster_python/ ._filament_segmentation_ to_coordinates.sh - jupyter_based_processing
/ , Python, 153 lines, 1 matchfilament_segmentation_to _coordinates/ cluster_python/ filament_segmentation_to _coordinates.py - jupyter_based_processing
/ , Shell, 16 linesfilament_segmentation_to _coordinates/ cluster_python/ filament_segmentation_to _coordinates.sh - jupyter_based_processing
/ , Python, 478 linesfilament_segmentation_to _coordinates/ cluster_python/ utils.py - jupyter_based_processing
/ , Jupyter, 147 lines, 1 matchfilament_segmentation_to _coordinates/ jupyter/ filament_segmentation_to _coordinates.ipynb - jupyter_based_processing
/ , Python, 478 linesfilament_segmentation_to _coordinates/ jupyter/ utils.py - jupyter_based_processing
/ , Jupyter, 67 lineslocal_orientation/ calculate_local_orientat ion.ipynb - jupyter_based_processing
/ , Jupyter, 147 linesmemb_fil_angle/ memb_fil_angle.ipynb - jupyter_based_processing
/ , Jupyter, 282 linesmemb_fil_distance/ memb_fil_distance.ipynb - jupyter_based_processing
/ , MATLAB, 42 linesmemb_surface_area_calcul ation/ memb_area_calc.m - jupyter_based_processing
/ , Jupyter, 253 linesmisc_functions/ misc_functions.ipynb - jupyter_based_processing
/ , Jupyter, 465 linesold_code/ Organize_data.ipynb - jupyter_based_processing
/ , Jupyter, 2,290 linesold_code/ actin_analysis_pipeline. ipynb - jupyter_based_processing
/ , Jupyter, 227 linesseparation_by_cell/ jupyter/ separation_by_cell.ipynb - jupyter_based_processing
/ , Python, 478 linesseparation_by_cell/ jupyter/ utils.py - jupyter_based_processing
/ , Python, 137 linesseparation_by_cell/ python_cluster/ quality_check_and_reinde xing.py - jupyter_based_processing
/ , Python, 183 linesseparation_by_cell/ python_cluster/ separation_by_cell.py - jupyter_based_processing
/ , Python, 478 linesseparation_by_cell/ python_cluster/ utils.py - jupyter_based_processing
/ , Python, 19 linessetup.py - LICENSE, License, 674 lines
- README.md, Text, 19 lines
Code availability
The code used for cortex analysis from binary segmentations obtained during cryo-ET data processing is available on GitHub with the following link: https://
The Napari plugin for reviewing and manually correct spot detections used in the filopodia analysis is available at GitHub with the following link: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 55 scripts, each with its path and the digest of its content;
- 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The dataset for the analysis of cortical actin and p-myosin in fixed cells, as well as actin and myosin−2 in live cells can be found together with the corresponding Fiji macro for immunofluorescence quantification in the Biostudies database (accession number S-BIAD2611).
All raw frames, tilt series, metadata, tomograms and segmentations generated for this work are deposited in the Electron Microscopy Public Image Archive (EMPIAR)118 under accession code EMPIAR-13326. A representative tomogram associated with this entry is available in the Electron Microscopy Data Bank (EMDB)119 under entry EMD-56367.
The experimental imaging data for the filopodia analysis, the used Spotiflow model with corresponding training data and example datasets are available in the BioStudies database (accession number S-BIAD2611).
Raw numbers for plots presented in this paper as well as western blot images are available in the Source Data. All other data and unique reagents that support this study are available from the corresponding authors upon request. Source data are provided in this paper. Source data are provided with this paper.
The code used for cortex analysis from binary segmentations obtained during cryo-ET data processing is available on GitHub with the following link: https://
The Napari plugin for reviewing and manually correct spot detections used in the filopodia analysis is available at GitHub with the following link: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 19 authors, 2 keywords, 8 MeSH terms, 2 funders, 116 references.
Cite
This paper
Strauss, L., Lembo, S., Gérard, S. F., Siggel, M., Cheng, D., Bergert, M., Foster, S. K., Vermeil, J., Toro-Nahuelpan, M., Fischer, L. M., Yu, Q., Sitarska, E., Chan, C. J., Kosinski, J., Piel, M., du Roure, O., Heuvingh, J., Mahamid, J., & Diz-Muñoz, A. (2026). The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics. Nature communications, 17(1), 9501. https://
BibTeX
@article{strauss2026memb
author = {Strauss, Léanne and Lembo, Sergio and Gérard, Samuel F and Siggel, Marc and Cheng, Dorothy and Bergert, Martin and Foster, Sarah K and Vermeil, Joseph and Toro-Nahuelpan, Mauricio and Fischer, Lena M and Yu, Qin and Sitarska, Ewa and Chan, Chii Jou and Kosinski, Jan and Piel, Matthieu and du Roure, Olivia and Heuvingh, Julien and Mahamid, Julia and Diz-Muñoz, Alba},
title = {{The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics}},
journal = {Nature communications},
year = {2026},
month = sep,
volume = {17},
number = {1},
pages = {9501},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42697882},
pmcid = {PMC13545285}
}
RIS
TY - JOUR
AU - Strauss, Léanne
AU - Lembo, Sergio
AU - Gérard, Samuel F
AU - Siggel, Marc
AU - Cheng, Dorothy
AU - Bergert, Martin
AU - Foster, Sarah K
AU - Vermeil, Joseph
AU - Toro-Nahuelpan, Mauricio
AU - Fischer, Lena M
AU - Yu, Qin
AU - Sitarska, Ewa
AU - Chan, Chii Jou
AU - Kosinski, Jan
AU - Piel, Matthieu
AU - du Roure, Olivia
AU - Heuvingh, Julien
AU - Mahamid, Julia
AU - Diz-Muñoz, Alba
TI - The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 9501
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics",
"container-title": "Nature communications",
"author": [
{
"family": "Strauss",
"given": "Léanne"
},
{
"family": "Lembo",
"given": "Sergio"
},
{
"family": "Gérard",
"given": "Samuel F"
},
{
"family": "Siggel",
"given": "Marc"
},
{
"family": "Cheng",
"given": "Dorothy"
},
{
"family": "Bergert",
"given": "Martin"
},
{
"family": "Foster",
"given": "Sarah K"
},
{
"family": "Vermeil",
"given": "Joseph"
},
{
"family": "Toro-Nahuelpan",
"given": "Mauricio"
},
{
"family": "Fischer",
"given": "Lena M"
},
{
"family": "Yu",
"given": "Qin"
},
{
"family": "Sitarska",
"given": "Ewa"
},
{
"family": "Chan",
"given": "Chii Jou"
},
{
"family": "Kosinski",
"given": "Jan"
},
{
"family": "Piel",
"given": "Matthieu"
},
{
"family": "du Roure",
"given": "Olivia"
},
{
"family": "Heuvingh",
"given": "Julien"
},
{
"family": "Mahamid",
"given": "Julia"
},
{
"family": "Diz-Muñoz",
"given": "Alba"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "9501",
"DOI": "10.1038/
"PMID": "42697882",
"PMCID": "PMC13545285",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
4
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1126/sciadv.aeb3209 [code]
- The actomyosin cortex controls t-tubule remodeling in skeletal muscle.Journal: Science advancesIn common: mouse, cellular / molecular, 9 references
- [2] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: car, OpenCV, scikit-image, 8 other tools, cellular / molecular
- [3] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: OpenCV, scikit-image, ggpubr, 8 other tools, mouse, cellular / molecular
- [4] doi:10.1016/j.nicl.2026.104012 [code]
- Structural-functional multilayer brain network properties and outcome of combined repetitive transcranial magnetic stimulation and psychotherapy for obsessive-compulsive disorder.Journal: NeuroImage. ClinicalIn common: car, ggpubr, Image Processing Toolbox, 8 other tools
- [5] doi:10.1093/braincomms/fcag176 [code]
- Tau topography subtypes account for clinical heterogeneity and longitudinal trajectories in early-onset Alzheimer's disease.Journal: Brain communicationsIn common: car, ggpubr, Image Processing Toolbox, 8 other tools
- [6] doi:10.1093/nc/niag029 [code]
- A data-driven approach to identifying and evaluating connectivity-based neural correlates of conscious visual perception.Journal: Neuroscience of consciousnessIn common: car, scikit-image, ggpubr, 8 other tools
- [7] doi:10.1002/imt2.70163 [code]
- Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.Journal: iMetaIn common: OpenCV, scikit-image, ggpubr, 7 other tools, mouse, cellular / molecular
- [8] doi:10.1038/s41593-026-02376-z [code]
- A framework for comparative analysis of human and mouse cortical neuron dendrites in corresponding brain regions.Journal: Nature neuroscienceIn common: OpenCV, Image Processing Toolbox, statsmodels, 7 other tools, mouse
- [9] doi:10.1038/s41597-026-07350-9 [code]
- An open multi-center MEG-EEG dataset for studying conscious visual perception.Journal: Scientific dataIn common: car, scikit-image, statsmodels, 7 other tools
- [10] doi:10.1038/s41597-026-07377-y [code]
- An open-access multi-site fMRI dataset for investigating conscious visual perception.Journal: Scientific dataIn common: car, scikit-image, statsmodels, 7 other tools
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 55 scripts, and 4 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:e3d4a962df464556…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
