1. split the combined FNT file into files storing individual neuron

mkdir split
fnt-split tracing.fnt -o split

In the folder split, JUNK*.fnt files denote the segment reconstructed in FNT-tracer without soma bodies.

2. convert FNT file to SWC file

Fast Neurite Tracer (FNT) stores the tracing results into the FNT format. Since SWC format is widely used, we convert the FNT file into SWC file. A brief introduction of SWC format can be found in https://www.nature.com/articles/s41467-023-42931-x#Fig1.

fnt-to-swc 0000.fnt 0000.swc

3. convert FNT files to SWC files in batch

Linux

cd your_folder_storing_SWC_files
for file_name in `ls`
do
    name=${file_name%.*}
    suffix=.swc
    swc_file_name=$name$suffix
    
    echo $file_name
    echo $swc_file_name
    
    fnt-to-swc $file_name $swc_file_name
 done