View source: R/metascope_blast.R
get_multi_seqs | R Documentation |
Returns fasta sequences from a bam file with given taxonomy IDs
get_multi_seqs(ids_n, bam_file, seq_info_df, metascope_id_tax, sorted_bam_file)
ids_n |
List of vectors with Taxonomy IDs and the number of sequences to get from each |
bam_file |
A sorted bam file and index file, loaded with Rsamtools::bamFile |
seq_info_df |
Dataframe of sequence information from metascope_blast() |
metascope_id_tax |
Data.frame of taxonomy information |
sorted_bam_file |
Filepath to sorted bam file |
Biostrings format sequences
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.