How to use the pyranges.tostring2.tostring function in pyranges

To help you get started, we’ve selected a few pyranges examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def mp(self, n=8, formatting=None):

        print(tostring(self, n=n, merge_position=True, formatting=formatting))
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def mpc(self, n=8, formatting=None):

        print(tostring(self, n=n, merge_position=True, formatting=formatting))

        return self
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def print(self, n=8, merge_position=False, sort=False, formatting=None, chain=False):

        s = tostring(
            self,
            n=n,
            merge_position=merge_position,
            sort=sort,
            formatting=formatting)

        print(s)

        if chain:
            return self
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def pc(self, n=8, formatting=None):

        print(tostring(self, n=n, formatting=formatting))

        return self
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def spc(self, n=30, formatting=None):

        print(tostring(self, n=n, sort=True, formatting=formatting))

        return self
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def sp(self, n=30, formatting=None):

        print(tostring(self, n=n, sort=True, formatting=formatting))
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def msp(self, n=30, formatting=None):

        print(
            tostring(
                self,
                n=n,
                merge_position=True,
                sort=True,
                formatting=formatting))
github biocore-ntnu / pyranges / pyranges / pyranges.py View on Github external
def mspc(self, n=30, formatting=None):

        print(
            tostring(
                self,
                n=n,
                merge_position=True,
                sort=True,
                formatting=formatting))

        return self