bt.maskfasta: Mask a fasta file based on feature coordinates.

View source: R/bt.maskfasta.R

bt.maskfastaR Documentation

Mask a fasta file based on feature coordinates.

Description

Mask a fasta file based on feature coordinates.

Usage

bt.maskfasta(
  fi,
  fo,
  bed,
  soft = NULL,
  mc = NULL,
  fullHeader = NULL,
  output = NULL
)

Arguments

fi

<fasta>

fo

<fasta>

bed

<bed/gff/vcf>

soft

Enforce "soft" masking. Mask with lower-case bases, instead of masking with Ns.

mc

Replace masking character. Use another character, instead of masking with Ns.

fullHeader

Use full fasta header. By default, only the word before the first space or tab is used.

output

Output filepath instead of returning output in R.


PhanstielLab/bedtoolsr documentation built on Aug. 29, 2024, 5:37 p.m.