HugoGuillen / reverseBed

Change relative strand orientation of a BED or GTF file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reverseBed

Change relative strand orientation of a BED or GTF file. The only prerequisite is bedtools in the PATH. Note: Current implementation works with tracks on a single chromosome and uncompressed files.

usage:
  reverseBed.sh [options]
    -i <bed/gtf> Input file.
    -c <center> Center to reverse the bed. Omit to use the midpoint of the input annotation.

example


TODO

  • Implement working with compressed files.
  • Implement grouping by chromosome.

About

Change relative strand orientation of a BED or GTF file


Languages

Language:Shell 100.0%