Metadata-Version: 2.1
Name: regref
Version: 2.1.1
Summary: Munge tables of data
Home-page: https://github.com/arendsee/regref
Author: Zebulun Arendsee
Author-email: zbwrnz@gmail.com
License: UNKNOWN
Description: [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)
        [![Build Status](https://travis-ci.org/arendsee/regref.svg?branch=master)](https://travis-ci.org/arendsee/regref)
        
        # regref
        
        To explain `regref` I will walk through the following example:
        
        ``` sh
        ./regref.py test-data/z.tab '${2}' '${3}' < test-data/z.fna
        ```
        
        `z.fna` is a FASTA file with mangled headers where all non-letter or number
        characters have been replaced with underscores.
        
        `z.tab` is a table that contains the mangled names (in column 2) and the
        original names (in column 3).
        
        The `regref` command reads the FASTA file from standard input and then replaces
        every occurance of the mangled string with the original string.
        
        The arguments '${2}' and '${3}' refer to columns in `z.tab` by column number.
        
        
        `regref` will replace every occurance of each pattern. The example below
        replaces the mangled string in a tree with a single-quoted orginal string.
        
        ``` sh
        ./regref.py test-data/z.tab '${2}' "'\${3}'" < test-data/z.tre
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
