NAME

CLIPSeqTools::App::export_bed - Export reads to a BED file.

SYNOPSIS

clipseqtools export_bed [options/parameters]

DESCRIPTION

Export reads to a BED file. Note that if the reads were collapsed in the preprocessing step then the exported reads are also collapsed. In this case the score field in the BED file corresponds to the copy number of the collapsed reads e.g. if 5 reads were collapsed into 1 then the score field of the BED file will be 5.

OPTIONS

Input options for library.
  --driver <Str>         driver for database connection (eg. mysql,
                         SQLite).
  --database <Str>       database name or path to database file for file
                         based databases (eg. SQLite).
  --table <Str>          database table.
  --host <Str>           hostname for database connection.
  --user <Str>           username for database connection.
  --password <Str>       password for database connection.
  --records_class <Str>  type of records stored in database.
  --filter <Filter>      filter library. May be used multiple times.
                         Syntax: column_name="pattern"
                         e.g. keep reads with deletions AND not repeat
                              masked AND longer than 31
                              --filter deletion="def"
                              --filter rmsk="undef"
                              --filter query_length=">31".
                         Operators: >, >=, <, <=, =, !=, def, undef

Output
  --o_prefix <Str>       output path prefix. Script will create and add
                         extension to path. [Default: ./]

Other options.
  -v --verbose           print progress lines and extra information.
  -h -? --usage --help   print help message