sugar._io.tab.mmseqs module¶
MMseqs2 reader for output generated with option fmtmode 4 (preferred) or 0
- sugar._io.tab.mmseqs.read_fts_mmseqs(f, *, sep='\t', outfmt=None, ftype=None, comments=None)[source]¶
Tabular data reader for feature output generated by MMseqs2
- Parameters:
sep (str) – Separator of fields, default
'\t', can be set toNonefor any whitespace.outfmt (str) – The string passed to MMseqs2 option
--format-output, can be omitted if MMseqs2 was called with--fmtmode 4or--fmtmode 0with default format-outputftype (str) – Parameter used as ftype
comments (list) – comment lines inside the file are stored in the comments list (optional)
Warning
This function should NOT be called directly, it registers via
read_fts(), call this instead.