BigelowLab / edna-dada2

Maine eDNA dada2
0 stars 0 forks source link

Add reference database name to output of assign_taxonomy #5

Open robinsleith opened 3 years ago

robinsleith commented 3 years ago

The following section should be able to be modified to include the CFG$dada2_assignTaxonomy_nochim$refFasta in the filename, will be clunky with entire name (e.g. ASV_taxa_pr2_version_4.13.0_18S_dada2.fasta.csv) but that might be simplest solution for now.

ttaxa <- dplyr::as_tibble(taxa) %>% dplyr::mutate(ASV = names(fasta)) %>% dplyr::relocate(ASV, .before = 1) %>% readr::write_csv(file.path(CFG$output_path, "ASV_taxa.csv"))

btupper commented 3 years ago

Didn't we do this already? Or is this different? Argh - where are the example scripts? The can't be the ones that we currently show in this repos under Rscript/ can they?

robinsleith commented 3 years ago

No, I still havent figured out how/where to upload the "workflow" scripts

robinsleith commented 3 years ago

It looks like here might be the place? /mnt/storage/data/edna/dada/edna-dada2/Rscript

Then do the status, commit, push steps?

btupper commented 3 years ago

Let's get on the horn. I have from now until 230, and then again after 330-ish until close of business.

On Wed, May 5, 2021 at 1:50 PM Robin S. Sleith @.***> wrote:

It looks like here might be the place? /mnt/storage/data/edna/dada/edna-dada2/Rscript

Then do the status, commit, push steps?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BigelowLab/edna-dada2/issues/5#issuecomment-832888123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG4SP5UXD6V4LPGUBBD633TMGAPBANCNFSM44FMKY5A .

-- Ben Tupper (he/him) Bigelow Laboratory for Ocean Science East Boothbay, Maine http://www.bigelow.org/ https://eco.bigelow.org

robinsleith commented 3 years ago

https://smith.zoom.us/my/meetwithsleith

robinsleith commented 3 years ago

Wanna start now and pick up again later if we need?

btupper commented 3 years ago

Remind me what this is?

robinsleith commented 3 years ago

Instead of having it spit out ASV_taxa.csv have it return $refFasta_ASV_taxa.csv