Taking a blast_tbl as input this function exports the following columns as BED file.

  • chromosome is defined by the blast_tbl column subject_id.

  • start is defined by the blast_tbl column s_start.

  • end is defined by the blast_tbl column s_end.

blast2bed(blast_tbl, output)

Arguments

blast_tbl

a BLAST table generated with any blast_*() function.

output

file path or name of the output file.

Author

Hajk-Georg Drost