This is a good article for young scientists. Sometimes the young and naive don't get the credit they deserve. Be prepared to argue for the credit you are due, and discuss authorship early in the project.
"Committee on Publication Ethics (COPE) recommends that researchers decide who will be an author and what order they will be listed in before they even conduct experiments, and that the group revisits the author list as a project evolves. A handshake isn't enough to seal the deal — researchers should keep author agreements in writing."
Via Mary Williams