trimTaxa: Trim columns from taxa file
Description
A simple script to delete the first row and then delete the first and fourth column of a four column tab delimited file and write to another file.
Usage
trimTaxa(inFile, outFile, desiredCols = c(2, 3))
Arguments
- inFile
a single string giving the 4 column tab separated file to read from
- outFile
a single string giving the file path to write to
- desiredCols
the integer IDs for columns to pull out from file