TOTM - Chi Chi - Etude No. 1 "Extracting Parts From The Melody"
In this etude, I have played the melody first. In the next chorus, the etude portion is a series of lines for soloing that I've taken from the melody. Compare the second chorus to the first.
When you learn bebop tunes, try to change around the lines as much as you can to create your own lines. Also, check for spots where you can start a line on a different beat; that really helps to find new rhythmic momentum. Enjoy!