Skip to content

Commit 0f73ba9

Browse files
committed
Example GFFs
1 parent ee14493 commit 0f73ba9

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,22 @@ This takes less than 4 seconds to load via a network drive on my machine.
4848

4949
sudo pip install pyreference
5050

51-
Pre-process your GFF3 or GTF files to create genes.gtf.json.gz (~1/20th the size of the input GTF file)
51+
Choose your annotation:
52+
53+
# Latest Ensembl GRCh37
54+
wget ftp://ftp.ensembl.org/pub/grch37/release-87/gff3/homo_sapiens/Homo_sapiens.GRCh37.87.gff3.gz
55+
56+
# Latest Ensembl GRCh38
57+
wget ftp://ftp.ensembl.org/pub/release-104/gff3/homo_sapiens/Homo_sapiens.GRCh38.104.gff3.gz
5258

53-
pyreference_gff_to_json.py --gtf genes.gtf
59+
# Latest RefSeq GRCh37
60+
wget http://ftp.ncbi.nlm.nih.gov/refseq/H_sapiens/annotation/annotation_releases/105.20201022/GCF_000001405.25_GRCh37.p13/GCF_000001405.25_GRCh37.p13_genomic.gff.gz
5461

55-
or
62+
# Latest RefSeq GRCh38
63+
http://ftp.ncbi.nlm.nih.gov/refseq/H_sapiens/annotation/annotation_releases/109.20210514/GCF_000001405.39_GRCh38.p13/GCF_000001405.39_GRCh38.p13_genomic.gff.gz
5664

65+
Pre-process your GFF3 or GTF files to create genes.gtf.json.gz (~1/20th the size of the input GTF file)
66+
5767
pyreference_gff_to_json.py --gff3 genes.gff.gz
5868

5969
Create a ~/pyreference.cfg file pointing to your references.
@@ -78,7 +88,6 @@ Substitute ArgumentParser with pyreference.ReferenceArgumentParser to add a --bu
7888

7989
args.reference is now initialised to the correct build/annotation.
8090

81-
8291
from pyreference import ReferenceArgumentParser
8392

8493
parser = ReferenceArgumentParser()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
setup(name='pyreference',
55
packages=find_packages(),
66
version='0.6',
7-
description='Library for working with reference genomes',
7+
description='Library for working with reference genomes and gene GTF/GFFs',
88
author='David Lawrence',
99
author_email='davmlaw@gmail.com',
1010
url='https://github.com/SACGF/pyreference',

0 commit comments

Comments
 (0)