NAME

bg_fasplit.pl - split sequences in fasta files by given regular expression

SYNOPSIS

bg_fasplit.pl [options] <regex> <file>

<regex> the split pattern in form of a perl regular expression
<file>  input sequence file in fata format

Options:

--help            brief help message
--clean_seq       clean DNA sequence (mask unknown characters with N)
--include_junk    sequence matched by <regex> will be included in the output
--seq_f <file>    write the split sequences into <file>