rename_spikes: for BAM/CRAM files with renamed contigs, we need to rename...

View source: R/rename_spikes.R

rename_spikesR Documentation

for BAM/CRAM files with renamed contigs, we need to rename spike rows

Description

This function does that.

Usage

rename_spikes(x, spike)

Arguments

x

a BAM/CRAM file, hopefully with an index

spike

a DataFrame where spike$sequence is a DNAStringSet

Value

     a DataFrame with renamed contigs (rows)

See Also

generate_spike_fasta


trichelab/spiky documentation built on Sept. 17, 2022, 8:44 a.m.