|X Simple filter to keep just the TOPHIT / first occurrence of some identifier
X usefull for keeping only the first tophit in blast when multiple hits are returned
X Please be aware that NO additional filtering or checking is done on for instance
X E values of BLAST hits. Tophit = FIRST hit...not necessarily the best..
X input list/table having some groupable identifier
X input the column number to filter on (column number starts at 1)
X input number of occurrences to keep
X note that the hits are displayed in order of occurrence
X and NOT sorted on given column!
X column splitter (default TAB)
X Note that: splitting on tab: Xt
X splitting on pipe: XX
X combined splits: -XXX (splits on - OR X)
X output the same table having only the FIRST occurrence of the identifier.
|Simple filter to keep N occurrences of lines in a file||0.1.Alx|