selects streamlines from a tractogram


./trekker select [OPTIONS] <input tractogram> <output tractogram>


  • <input tractogram> TEXT:FILE REQUIRED Input tractogram (.vtk, .tck, .trk)

  • <output tractogram> TEXT REQUIRED Output tractogram (.vtk, .tck, .trk)


Option Description
-s, --selection TEXT File with binary values that mark selected streamlines with 1 and others with 0.
-r, --random INT Random tractogram file creating. One input required, total count for random lines.
-o, --ordered INT x 2 Ordered tractogram file creating. Two inputs required, begin and end index.

General options

Option Description
-h, --help Print this help message and exit.
-n, --numberOfThreads INT Number of threads.
-v, --verbose TEXT Verbose level. Options are "quiet", "fatal", "error", "warn", "info", and "debug". Default=info.
-f, --force Force overwriting of existing file.