ngsRename: Rename NGS files

Description Usage Arguments Author(s) See Also

View source: R/ngsRename.R

Description

Rename NGS files using new accessioned names from indexing data frame.

Usage

1
2
3
4
5
6
7
ngsRename(
  df,
  old.folder,
  new.folder,
  leave.files = TRUE,
  use.archive.folders = TRUE
)

Arguments

df

formatted indexing data frame resulting from ngsFormatDF.

old.folder

folder where original files reside.

new.folder

folder where renamed files should be placed.

leave.files

leave files in old.folder? If TRUE a copy operation will take place, leaving files in old.folder. If FALSE, the a rename operation will take place. If old.folder is different from new.folder or use.archive.folders is FALSE this will be the same as moving the files.

use.archive.folders

If TRUE the target folder will be '<new.folder>/Gspp/run.library' where 'Gspp' is the genus and species abbreviation. If FALSE, the target folder will just be the root of new.folder.

Author(s)

Eric Archer eric.archer@noaa.gov

See Also

ngsFormatDF, ngsAccession


EricArcher/swfscGenetics documentation built on May 25, 2021, 3:46 a.m.