Skip to content

get_genome_phastcons

Martin Asser Hansen edited this page Oct 2, 2015 · 5 revisions

Biopiece: get_genome_phastcons

Description

get_genome_phastcons extracts phastcons scores from a specified genome that has been preformatted with format_genome. Ths phastcons scores can be extracted either explicitly or using BED/PSL/BLAST entries in the stream. Formatted genomes can be listed using list_genomes.

Usage

get_genome_phastcons [options] -g <genome>

or

... | get_genome_phastcons [options] -g <genome>

Options

[-?          | --help]               #  Print full usage description.
[-g <genome> | --genome=<genome>]    #  Genome to get phastcons scores from.
[-c <string> | --chr=<string>]       #  Chromosome with requested scores.
[-b <uint>   | --beg=<uint>]         #  Begin position of interval (first residue=1).
[-e <uint>   | --end=<uint>]         #  End position of interval.
[-l <uint>   | --len=<uint>]         #  Length of interval.
[-f <uint>   | --flank=<uint>]       #  Include flanking region.
[-I <file!>  | --stream_in=<file!>]  #  Read input from stream file  -  Default=STDIN
[-O <file>   | --stream_out=<file>]  #  Write output to stream file  -  Default=STDOUT
[-v          | --verbose]            #  Verbose output.

Examples

get_genome_phastcons -g hg18 -c chr1 -b 1 -e 10  #  Get the first 10 phastcons scores from human genome chr1.
get_genome_phastcons -g hg18 -c chr1 -b 1 -l 10  #  Get the first 10 phastcons scores from human genome chr1.
... | get_genome_phastcons -g mm8 -f 50          #  Get phastcons scores including 50nt flanks of mouse BED/PSL/BLAST entries.

See also

get_genome_seq

get_genome_align

Author

Martin Asser Hansen - Copyright (C) - All rights reserved.

mail@maasha.dk

August 2007

License

GNU General Public License version 2

http://www.gnu.org/copyleft/gpl.html

Help

get_genome_phastcons is part of the Biopieces framework.

http://www.biopieces.org

Clone this wiki locally