-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added more documentation as well as reformatted the files
- Loading branch information
1 parent
e18846e
commit 02c6d57
Showing
4 changed files
with
106 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
.. _genome_annotation: | ||
|
||
Annotated Genome Data | ||
---------------------- | ||
|
||
Overview | ||
......... | ||
|
||
Generate JSON-LD files for annotated genes from a given GFF3 file. Currently GFF3 files from ENSEMBL and NCBI are supported. | ||
|
||
Each JSON-LD file will contain: | ||
|
||
- GeneAnnotation objects | ||
- 1 GenomeAnnotation object | ||
- 1 GenomeAssembly object | ||
- 1 OrganismTaxon object | ||
- 1 Checksum object | ||
|
||
Command Line | ||
............. | ||
|
||
``bkbit gff2jsonld`` | ||
,,,,,,,,,,,,,,,,,,,,, | ||
|
||
.. code-block:: bash | ||
$ bkbit gff2jsonld [OPTIONS] GFF3_URL | ||
Options | ||
,,,,,,,, | ||
|
||
``-a, --assembly_accession`` | ||
ID assigned to the genomic assembly used in the GFF3 file. | ||
**Note: Must be provided when using ENSEMBL GFF3 files** | ||
|
||
``-s, --assembly_strain`` | ||
Specific strain of the organism associated with the GFF3 file. | ||
|
||
``-l, --log_level`` | ||
Logging level. | ||
|
||
Default: | ||
WARNING | ||
Options: | ||
DEBUG | INFO | WARNING | ERROR | CRITICIAL | ||
|
||
``-f, --log_to_file`` | ||
Log to a file instead of the console. | ||
|
||
Default: | ||
FALSE | ||
|
||
Arguments | ||
,,,,,,,,,,, | ||
|
||
``GFF3_URL`` | ||
URL to the GFF3 file. | ||
|
||
Examples | ||
......... | ||
|
||
Example 1: NCBI GFF3 file | ||
,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
|
||
.. code-block:: bash | ||
$ bkbit gff2jsonld 'https://ftp.ncbi.nlm.nih.gov/genomes/all/annotation_releases/9823/106/GCF_000003025.6_Sscrofa11.1/GCF_000003025.6_Sscrofa11.1_genomic.gff.gz' > output.jsonld | ||
Example 2: ENSEMBL GFF3 file | ||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
|
||
.. code-block:: bash | ||
$ bkbit gff2jsonld -a 'GCF_003339765.1' 'https://ftp.ensembl.org/pub/release-104/gff3/macaca_mulatta/Macaca_mulatta.Mmul_10.104.gff3.gz' > output.jsonld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.. _specimen_file_manifest: | ||
|
||
Specimen File Manifest | ||
---------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters