MSA File Filter

Refine MSA application.

evol_filter(msa, *word, **kwargs)[source]

Filter an MSA using sequence labels.

Parameters:
  • msa – MSA filename to be filtered
  • word – word to be compared to sequence label

Filtering Method (Required)

Parameters:
  • startswith (bool) – sequence label starts with given words
  • endswith (bool) – sequence label ends with given words
  • contains (bool) – sequence label contains with given words

Filter Option

Parameters:filter_full (bool) – compare full label with word(s)

Output Options

Parameters:
  • outname (str) – output filename, default is msa filename with _refined suffix
  • format (str) – output MSA file format, default is same as input
  • compressed (bool) – gzip refined MSA output