Skip to main content

Extract genome ferature sequence for biologists

Project description


The featurExtract is python package for bioinformatics.
The packages contains two executable command programs.
The first executable program is featurExtract including
ten subroutines termed create, gene, promoter, UTR, uORF,
CDS, dORF, exon, intron, intergenic. The create subroutine is
used for creating database. The promoter subroutine is used
for extracting promoter sequence. uORF subroutine is used
for extracting upstream open reading frames sequence. UTR
subroutine is used for extracting untranslated region sequence.
CDS subroutine is used for extracting coding sequence.intergenic
subroutine is used for extracting intergenic sequence between two
genes. The second executable program is genBankExtract including
four subroutines termed gene, CDS, rRNA, tRNA.

Brief introduction of featurExtract package


Two way offer to install featurExtract module.

install command line

pip install featurExtract
# other
git clone
cd featurExtract
python install


python >= 3.7.6 python
pandas >= 1.2.4 pandas
gffutils >= 0.10.1 gffutils
setuptools >= 49.2.0 setuptools
biopython >= 1.78 biopython


featurExtract is designed for GFF and GTF file
and GenBankExtract is suited for GenBank file.


# gff or gtf database 
which featurExtract
featurExtract -h 
featurExtract create -h 
featurExtract promoter -h 
featurExtract UTR -h 
featurExtract uORF -h 
featurExtract CDS -h 
featurExtract dORF -h
featurExtract exon -h
featurExtract intron -h
featurExtract intergenic -h


# GenBank database
which genBankExtract
genBankExtract -h
genBankExtract gene -h
genBankExtract CDS  -h
genBankExtract rRNA -h
genBankExtract tRNA -h



# step 1 create database
featurExtract create -f GFF -g ath.gff3 -o ath
# step 2 command
# promoter whole genome
featurExtract promoter -d ath.GFF -f ath.fa -l 200 -u 100 -o promoter.csv --output_format fasta
# promoter one gene to stdout 
featurExtract promoter -d ath.GFF -f ath.fa -l 200 -u 100 -g AT1G01010 -p --output_format fasta
featurExtract UTR -d ath.GFF -f ath.fa -o UTR.csv -s GFF
featurExtract uORF -d ath.GFF -f ath.fa -o uORF.csv -s GFF
featurExtract CDS -d ath.GFF -f ath.fa -o CDS.csv -s GFF
featurExtract mRNA -d ath.GFF -f ath.fa -o mRNA.fasta -s GFF --output_format fasta
featurExtract exon -d ath.GFF -f ath.fa -t AT1G01010.1 -p -s GFF
featurExtract intron -d ath.GFF -f ath.fa -t AT1G01010.1 -p -s GFF


# GenBank step 3
genBankExtract gene -g -f dna -p  
genBankExtract CDS  -g -f dna -p 
genBankExtract rRNA -g -f dna -p
genBankExtract tRNA -g -f dna -p

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

featurExtract- (26.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page