I suggest throwing the whole bag. Just because some of it appears fine doesn't mean that it isn't all effected. For future reference, do you have a dry place to store grain, even if it's in a garbage can? Any moisture will mold the grain and be bad for your birds.