Make a new focus group.
Filter the Project Explorer...
Is a Matrilineal Ancestor of ID# (your ID number) OR
Is a Patrilineal Ancestor of ID# (your ID number) END
Add those people to the focus group.
Now you probably want to select everyone and add spouses although this is optional. You only would want the spouses who are your ancestors.)
Add you to the focus group.
Now you have your matrilineal and patrilineal ancestors and you in a focus group.
You can use this to mark those people or to make a project subset or to make a GEDCOM for uploading to your DNA service (for example, Ancestry or Family Tree DNA).