Hello Muhammad,
What method of OTU picking did you use to make your rep_set.fna file? If you use closed-ref, you can use the green genes .tre file with the beta diversity scripts. If you use open-ref OTU picking, a tree file should have been created along with your rep_set.fna file.
You could also use a beta diversity distance metric that does not need a .tre file. For example, you could use -m euclidean.
I hope that helps!
Colin