filterFasta | R Documentation |
filterFasta
reads fasta file and filter it by target chromosomes.
(.gz supported)
filterFasta( fasta, chromosomes = NULL, out = NULL, sep = "\\s", verbose = TRUE )
fasta |
character. Path to fasta file. |
chromosomes |
character. Target chromosomes. |
out |
character. Output file. |
sep |
character. Fasta name separator. Default |
verbose |
logical. Print progress. Default |
if success, return TRUE
fa = system.file('extdata', 'IMGT_Homo_sapiens.fa.gz', package = 'TrustVDJ') filterFasta(fa, c('IGHD1-1*01', 'TRDD1*01'), 'filter.fa') fa = readLines('filter.fa') file.remove('filter.fa') cat(paste(fa, '\n', collapse = ''))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.