Trim down a FASTA file to only contain proteins present in an associated Spectronaut report file.
Usage
trimFASTA(
FASTAFileName,
reportFileName,
outputFileName = "trimFASTA_output.txt",
by = "PG.ProteinNames",
selectString = "*BOVIN"
)
Arguments
- FASTAFileName
A character string specifying the name of the input FASTA .txt file.
- reportFileName
A character string specifying the name of the Spectronaut report .csv file.
- outputFileName
A character string (default = "trimFASTA_output.txt") specifying the name of the output file.
- by
A character string (default = "PG.ProteinNames") specifying the identifier (column name) used for selection in the report file.
- selectString
A character string specifying the regular expression to search for.