How to convert .mif file to dt6 format for analysis in AFQ_ComputeTractProperties.m?

I am trying to analysis some fibers tracked by Mrtrix3 from ROI A to ROI B. My process flow is to preprocess DTI and T1 images and use tckgen to generate fiber tracts in Matrix first. Then I used AFQ_removeFiberOutliers to clean tracts successfully. Now, I want to analyze the properties along with the tracts using AFQ_ComputeTractProperties.m. However, it need an input file of the DTI image in dt6 format. But how to convert my .mif files made in matrix to dt6?
Or is there any other program for similar analysis, considering that AFQ toolkit is relatively out of date?


You might want to consider Dipy or PyAFQ for your analyses.