thanks but Im not sure if that does what I want it to do. It counted how many are unique and how many are replicates. Basically what i want it to do is this:
Before...
yan
tar
tar
man
ban
tan
tub
tub
tub
yan unique
tar unique
tar duplicate
man unique
ban unique
tan unique
tub unique
tub duplicate
tub triplicate
thanks
---------- Post updated at 12:53 PM ---------- Previous update was at 12:46 PM ----------
Hi its tab deliminted,
thanks but Im not sure if that does what I want it to do. It counted how many are unique and how many are replicates. Basically what i want it to do is this:
Before...
yan
tar
tar
man
ban
tan
tub
tub
tub
yan unique
tar unique
tar duplicate
man unique
ban unique
tan unique
tub unique
tub duplicate
tub triplicate
yan 0
tar 0
tar 1
man 0
ban 0
tan 0
tub 0
tub 1
tub 2
Which is just that what you have in your 1st definition. Your field delimeter is tab, which is one of the default delimeter. If your data include also space in data, then you need set FS value: