If the guided tour you choose does not include a visit to the Basilica, you can do it before or after visiting the Vatican Museums.