Why I am getting different gene lengths for the same genes in different samples with rsem-calculate-expression?
If there are differences in the expression of individual transcripts between samples then both the length and effective length will differ between samples. It is commonly the case that the ratio of longer and short transcript expression varies a bit between samples, which gives rise to this.