GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
gap> START_TEST("HAP library"); gap> Read(Concatenation(dir,"25spheres.txt")); gap> K:=PureCubicalComplexToCubicalComplex(M);; gap> Size(K); 5999166 gap> L:=DVFReducedCubicalComplex(K);; gap> D:=ChainComplex(L);; gap> List([0..3],D!.dimension); [ 1, 0, 25, 0 ] gap> STOP_TEST( "tst.tst", 1000 );