This past summer, I started my undergraduate thesis project under two advisors. One of my advisors had done research on a similar topic to what my thesis project is covering and she had the data collected from their experiments. (For context, we are synthesizing anticancer molecules and testing them on cancer cell lines. In her research, they made different derivatives than me but with the same starting materials).
Since the two works require similar background knowledge, I was asked to write the paper for their research since I would be looking through articles anyways for my project. I wrote the entire paper and provided all analyses of the data (abstract, intro, results, discussion, experimental section) and my advisor provided comments for edits.
I am listed as the sixth author out of seven. Since I'm just an undergrad, I'm not sure how authorship works but I know that the people who contribute more to the project are earlier in the author list.
Based on your experiences, should I be earlier in the list or is this position common when someone writes the paper when they didn't contribute to the actual research? Obviously I know I shouldn't be first author but I feel like 6th/7 is pretty low for someone who wrote the whole paper. I'm not sure how to go about discussing this with my advisor.