alexpiper / taxreturn

An R package for creating taxonomic reference databases for metabarcoding studies
GNU General Public License v3.0
8 stars 1 forks source link

Error attempting to download 16s sequences #25

Closed brandonhoenig closed 2 years ago

brandonhoenig commented 2 years ago

Hi Alex,

Really incredible work on taxreturn! I've used it to pull together all of the CO1 sequences for my group of interest, but I'm running into issues trying to get 16s sequences. I'm using the fetch_seqs function, but when I set the marker to '16s' or '16s[GENE]' I keep getting this error:

Error in auto_copy(): ! x and y must share the same src. ℹ set copy = TRUE (may be slow).

Any ideas what might be happening here? It feels like a dplyr related issue, but I don't quite have the experience to debug it myself.

Thank you! Brandon

brandonhoenig commented 2 years ago

Alex,

I figured out the issue. For some reason, the taxadump that I was having the function reference with the 'db' argument was not up to date. I allowed the function to create a new taxadump folder and it ran just fine.

Brandon