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 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 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 X output the same table having only the FIRST occurrence of the identifier. X |
hg clone https://toolshed.g2.bx.psu.edu/repos/abossers/tophit_namefilter
Name | Description | Version | Minimum Galaxy Version |
---|---|---|---|
Simple filter to keep N occurrences of lines in a file | 0.1.Alx | any |