Man page - gt-select(1)
Packages contains this manual
- gt-readjoiner(1)
- gt-cds(1)
- gt-extractfeat(1)
- gt-dupfeat(1)
- gt-select(1)
- gt-encseq(1)
- gt-matstat(1)
- gt-md5_to_id(1)
- gt-seqmutate(1)
- gt-seqtranslate(1)
- gt-mkfeatureindex(1)
- gt-dot(1)
- gt-compreads-decompress(1)
- gt-compreads-refcompress(1)
- gt-condenseq(1)
- gt-readjoiner-prefilter(1)
- gt-seqstat(1)
- gt-readjoiner-overlap(1)
- gt-splicesiteinfo(1)
- gt-prebwt(1)
- gt-extractseq(1)
- gt-encseq2spm(1)
- gt-convertseq(1)
- gt-clean(1)
- gt-encseq-encode(1)
- gt-ltrclustering(1)
- gt-seq(1)
- gt-ltrharvest(1)
- gt-sequniq(1)
- gt-inlineseq_split(1)
- gt-mergefeat(1)
- gt-splitfasta(1)
- gt-gtf_to_gff3(1)
- gt-ltrdigest(1)
- gt-seqfilter(1)
- gt-featureindex(1)
- gt-inlineseq_add(1)
- gt-speck(1)
- gt-mmapandread(1)
- gt-tallymer-mkindex(1)
- gt-seed_extend(1)
- gt-hop(1)
- gt-sketch(1)
- gt-repfind(1)
- gt-shulengthdist(1)
- gt-sketch_page(1)
- gt-gff3(1)
- gt-stat(1)
- gt-gff3validator(1)
- gt-packedindex(1)
- gt-merge(1)
- gt-wtree(1)
- gt-encseq-bitextract(1)
- gt-seqids(1)
- gt-readjoiner-assembly(1)
- gt-tirvish(1)
- gt-uniquesub(1)
- gt-encseq-sample(1)
- gt-chseqids(1)
- gt-compreads-compress(1)
- gt-scriptfilter(1)
- gt-seqtransform(1)
- gt-eval(1)
- gt-genomediff(1)
- gt-congruence(1)
- gt-chain2dim(1)
- gt-tallymer(1)
- gt-tagerator(1)
- gt-loccheck(1)
- gt-encseq-info(1)
- gt-snpper(1)
- gt-bed_to_gff3(1)
- gt(1)
- gt-matchtool(1)
- gt-simreads(1)
- gt-csa(1)
- gt-tallymer-occratio(1)
- gt-encseq-check(1)
- gt-tallymer-search(1)
- gt-encseq-bench(1)
- gt-shredder(1)
- gt-gff3_to_gtf(1)
- gt-orffinder(1)
- gt-encseq-decode(1)
- gt-compreads(1)
- gt-encseq-md5(1)
- gt-uniq(1)
- gt-congruence-spacedseed(1)
- gt-id_to_md5(1)
- gt-seqorder(1)
- gt-compreads-refdecompress(1)
- gt-fingerprint(1)
- gt-fastq_sample(1)
- gt-interfeat(1)
apt-get install genometools
Manual
GT-SELECT
NAMESYNOPSIS
DESCRIPTION
REPORTING BUGS
NAME
gt-select - Select certain features (specified by the used options) from given GFF3 file(s).
SYNOPSIS
gt select [option ...] [GFF3_file ...]
DESCRIPTION
-retainids [ yes|no ]
when available, use the original IDs provided in the source file (memory consumption is proportional to the input file size(s)) (default: no)
-seqid [ string ]
select feature with the given sequence ID (all comments are selected). (default: undefined)
-source [ string ]
select feature with the given source (the source is column 2 in regular GFF3 lines) (default: undefined)
-contain [ start end ]
select all features which are contained in the given range (default: undefined)
-overlap [ start end ]
select all features which do overlap with the given range (default: undefined)
-strand [ string ]
select all top-level features(i.e., features without parents) whose strand equals the given one (must be one of +-.? ) (default: undefined)
-targetstrand [ string ]
select all top-level features (i.e., features without parents) which have exactly one target attribute whose strand equals the given one (must be one of +-.? ) (default: undefined)
-targetbest [ yes|no ]
if multiple top-level features (i.e., features without parents) with exactly one target attribute have the same target_id, keep only the feature with the best score. If -targetstrand is used at the same time, this option is applied after -targetstrand. Memory consumption is proportional to the input file size(s). (default: no)
-hascds [ yes|no ]
select all top-level features which do have a CDS child (default: no)
-maxgenelength [ value ]
select genes up to the given maximum length (default: undefined)
-maxgenenum [ value ]
select the first genes up to the given maximum number (default: undefined)
-mingenescore [ value ]
select genes with the given minimum score (default: undefined)
-maxgenescore [ value ]
select genes with the given maximum score (default: undefined)
-minaveragessp [ value ]
set the minimum average splice site probability (default: undefined)
-rule_files
specify Lua filter rule files to be used for selection (terminate list with -- )
-rule_logic [ ... ]
select how multiple Lua files should be combined choose from AND|OR (default: AND)
-dropped_file [ filename ]
save non-selected features to file (default: undefined)
-v [ yes|no ]
be verbose (default: no)
-o [ filename ]
redirect output to specified file (default: undefined)
-gzip [ yes|no ]
write gzip compressed output file (default: no)
-bzip2 [ yes|no ]
write bzip2 compressed output file (default: no)
-force [ yes|no ]
force writing to output file (default: no)
-help
display help and exit
-version
display version information and exit
File format for option -rule_files :
The files supplied to option -rule_files define a function for filtering by user given criteria (see example below):
function
filter(gn)
target = "exon"
for curnode in gn:children() do
if (curnode:get_type() == target) then
return false
end
end
return true
end
The above function iterates over all children of gn and checks whether there is a node of type exon . If there is such a node the function returns false , indicating that the parent node gn will not be sorted out.
NOTE: The function must be named filter and must return false , indicating that the node survived the filtering process.
REPORTING BUGS
Report bugs to https://github.com/genometools/genometools/issues.