added rel abundance funtion in source file