However, you could use "genes" in a sentence where the context makes it clear you're referring to denim pants. For example:
"I bought a new pair of genes at the sale."
This wouldn't be grammatically correct, but it would be understood in the context of a conversation about clothing.
It's important to note that using a word like "genes" in this way is a bit of a play on words and should be used sparingly.