Skip to main content

合并 GFF/GTF 文件的重叠特征。

项目描述

https://zenodo.org/badge/166121742.svg

特征合并

合并 GFF 文件中的特征

安装:

pip install feature-merge

或者:

conda install feature_merge

或者:

git clone https://github.com/brinkmanlab/feature_merge.git
cd feature_merge
./setup.py install

用法:

feature_merge [-i] [-e] [-x] [-s] [-v] [-m merge|append|error|skip|replace] [-f type[,type..]].. <input1> [<input_n>..]
Accepts GFF or GTF format.
-v Print version and exit
-f Comma seperated types of features to merge. Must be terms or accessions from the SOFA sequence ontology, \"ALL\", or \"NONE\". (Can be provided more than once to specify multiple merge groups)
-i Ignore strand, merge feature regardless of strand
-s Ignore sequence id, merge feature regardless of sequence id
-x Only merge features with identical coordinates
-t Threshold distance between features to merge
-e Exclude component features from output
-m Merge strategy used to deal with id collisions between input files.
    merge: attributes of all features with the same primary key will be merged
    append: entry will have a unique, autoincremented primary key assigned to it (default)
    error: exception will be raised. This means you will have to edit the file yourself to fix the duplicated IDs
    skip: ignore duplicates, emitting a warning
    replace: keep last duplicate

请参阅CONTRIBUTING.rst以获取有关为此 repo 做出贡献的信息。

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

feature_merge-1.3.0.tar.gz (13.2 kB 查看哈希

已上传 source