Can the police take my DNA?

Yes. On arrest, the police have the right to take your DNA and do not need your permission. The sample may, for example, be from a hair root.