extrProtIdsFromFasta: tries to extract the protein IDs (located in fasta headers)...

Description Usage Arguments Value Examples

Description

tries to extract the protein IDs (located in fasta headers) from fasta file

Usage

1
extrProtIdsFromFasta(fasta_file, sub_pattern = NULL)

Arguments

fasta_file

path to a fasta file

sub_pattern

optionally, pattern to match the protein ID

Value

a character vector of protein IDs

Examples

1
2
3
4
## Not run: 
extrProtIdsFromFasta("HUMAN_DB.fasta", ">([^ ]+)")

## End(Not run)

mariodejung/samplesubmission documentation built on May 3, 2019, 1:34 p.m.