# Get.lineage, taxa not picked but do exist

**URL:** <https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496>\
**Category:** mothur bugs\
**Created:** [May 7, 2020, 6:40am UTC](https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496 "2020-05-07T06:40:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YanSun](https://avatars.discourse-cdn.com/v4/letter/y/71e660/32.png) [@YanSun](https://forum.mothur.org/u/YanSun)\
**Post date:** [May 7, 2020, 6:40am UTC](https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496/1 "2020-05-07T06:40:18Z")

</div>

Hi,  
I tried to use get.lineage to pick the taxa of interest (Eukaryota-Bacteria;Cyanobacteria) from SILVA\_132\_LSURef\_tax\_silva\_trunc.fasta, and taxonomy file taxmap\_slv\_lsu\_ref\_132.txt, but the pick was only successful in the taxonomy file. I searched throughout the fasta file and there were these taxa. For example,

 ![eukaryota](https://canada1.discourse-cdn.com/flex036/uploads/mothur/original/1X/1c048688473dccc029f48b871957b474231142bc.png)

Hope I can get help here…

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [May 7, 2020, 5:15pm UTC](https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496/2 "2020-05-07T17:15:07Z")

</div>

You cannot run `get.lineage` on the fasta file alone. The command only looks for the taxonomy information from the taxonomy file. If you give `get.lineage` both the taxonomy and fasta files, it will get the sequences that correspond to the desired taxonomy in the taxonomy file.

Pat

---

<div class="post-metadata">

**Author:** ![YanSun](https://avatars.discourse-cdn.com/v4/letter/y/71e660/32.png) [@YanSun](https://forum.mothur.org/u/YanSun)\
**Post date:** [May 8, 2020, 5:55am UTC](https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496/3 "2020-05-08T05:55:21Z")

</div>

Hi Pat,  
I did run the fasta and taxonomy files together: get.lineage(fasta=SILVA\_132\_LSURef\_tax\_silva\_trunc.fasta, taxonomy=taxmap\_slv\_lsu\_ref\_132.txt, taxon=Eukaryota-Bacteria;Cyanobacteria)

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [May 8, 2020, 11:35am UTC](https://forum.mothur.org/t/get-lineage-taxa-not-picked-but-do-exist/20496/4 "2020-05-08T11:35:08Z")

</div>

Closed on May 8, 2020, 11:35am UTC


