Former state lab chemist Annie Dookhan pleaded not guilty in Middlesex Superior Court in Woburn to charges of altering drug evidence and obstructing justice.