I have been dealing with certain subgroups of group cohomology, and the following general question comes to my mind. Suppose $C$ is a chain complex of $R$-modules and $H_n(C)$ its $n$-th homology module. Now let M be an $R$-submodule of $H_n(C)$. Does there exist a chain complex $D$ of $R$-modules such that $M=H_n(D)$?
Edit: Suppose that there is a sequence of $R$-submodules $M_n$ of $H_n(C)$. When can we find a chain complex $D$ such that $H_n(D)=M_n$ for all $n$?