After a struggle with a homeless man doing drugs on a train a police officer had part of his finger bitten off.