Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce bedtools methods #68

Open
16 of 19 tasks
Tracked by #69
noamteyssier opened this issue Jan 25, 2024 · 3 comments
Open
16 of 19 tasks
Tracked by #69

Reproduce bedtools methods #68

noamteyssier opened this issue Jan 25, 2024 · 3 comments
Labels
enhancement New feature or request Roadmap
Milestone

Comments

@noamteyssier
Copy link
Owner

noamteyssier commented Jan 25, 2024

  • intersect
  • window
  • closest
  • coverage
  • map
  • genomecov
  • merge
  • cluster
  • complement
  • shift
  • subtract
  • slop
  • flank
  • sort
  • random
  • shuffle
  • sample
  • spacing
  • unionbedg
@noamteyssier noamteyssier added enhancement New feature or request Roadmap labels Jan 25, 2024
@noamteyssier noamteyssier added this to the 0.2 milestone Jan 30, 2024
@mrvollger
Copy link
Contributor

I don't know if you are going for every subcommand but if so I would like to see this one as well:

bedtools unionbedg

Tool:    bedtools unionbedg (aka unionBedGraphs)
Version: v2.31.0
Summary: Combines multiple BedGraph files into a single file,
         allowing coverage comparisons between them.

Usage:   bedtools unionbedg [OPTIONS] -i FILE1 FILE2 .. FILEn
         Assumes that each BedGraph file is sorted by chrom/start
         and that the intervals in each are non-overlapping.

Options:
        -header         Print a header line.
                        (chrom/start/end + names of each file).

        -names          A list of names (one/file) to describe each file in -i.
                        These names will be printed in the header line.

        -g              Use genome file to calculate empty regions.
                        - STRING.

        -empty          Report empty regions (i.e., start/end intervals w/o
                        values in all files).
                        - Requires the '-g FILE' parameter.

        -filler TEXT    Use TEXT when representing intervals having no value.
                        - Default is '0', but you can use 'N/A' or any text.

        -examples       Show detailed usage examples.

Error: missing BedGraph file names (-i) to combine.

@noamteyssier
Copy link
Owner Author

Sure - seems easy enough. I'll add this to the list

@noamteyssier
Copy link
Owner Author

@mrvollger

I took a stab at unionbedg and it's available in the gia-2.0 branch of the repo if you'd like to try it out.
I don't have the additional arguments implemented but should be easy to fill in later.

@noamteyssier noamteyssier mentioned this issue Apr 4, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Roadmap
Projects
None yet
Development

No branches or pull requests

2 participants