Skip to content

Subset_selfile

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

selfile_subset

Purpose

This program allows you to choose a random subset of a selfile. The subset can be with or without replacement and can have any size (smaller or equal the original selfile). Only active entries in the input file will be written to the output files.

Usage


$ selfile_subset ...


Parameters

  • `` Input selfile
  • -o [rootnameinputroot] = Output rootname. Output selfiles will be calledrootname_[n].sel
  • `` Number of images in the subset. If not given, the same as the input file
  • `` Number of subsets of this kind
  • `` Random subsets with replacement

Examples and notes

A common use of this program may be to randomly bootstrap (with replacement) 10 selfiles


$ selfile_subset -i filename.sel -bootstrap -numberOfSubsets 10


If we want to create 10 selfiles (without replacement) of size 9000


$ selfile_subset -i filename.sel -numberOfSubsets 10 -subsetSize 9000


--Main.CoSS - 17 Nov 2009

Clone this wiki locally