Skip to content

Commit

Permalink
Add example for #162
Browse files Browse the repository at this point in the history
  • Loading branch information
dvklopfenstein committed May 6, 2020
1 parent 9e3f9f9 commit cf9f0fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/compare_gos/i162a.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Protein \t GO ID \t Function
X \t GO:0005737 \t cytoplasm
X \t GO:0048523 \t cytoplasm

4 changes: 4 additions & 0 deletions data/compare_gos/i162b.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Protein \t GO ID \t Function
X \t GO:0005737 \t cytoplasm
X \t GO:0048518 \t cytoplasm

3 changes: 2 additions & 1 deletion goatools/cli/compare_gos.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
--obo=<file.obo> Ontologies in obo file [default: go-basic.obo].
--slims=<file.obo> GO slims in obo file [default: goslim_generic.obo].
--gpad=<file.gpad> Annotations from a gpad file
--gaf=<file.gaf> Annotations from a gaf file
--gene2go=<gene2go> Annotations from a gene2go file downloaded from NCBI
Expand Down Expand Up @@ -175,7 +176,7 @@ def _prt_ver_n_key(self, prt, verbose):
prt.write('\n# GO Namspaces:\n')
prt.write('# BP -> Biological Process\n')
prt.write('# MF -> Molecular Function\n')
prt.write('# CC -> Cellualr Component\n')
prt.write('# CC -> Cellular Component\n')
if verbose:
prt.write('\n# Example fields: 5 uGOs 362 47 L04 D04 R04\n')
prt.write('# N uGOs -> number of user GO IDs under this GO header\n')
Expand Down

0 comments on commit cf9f0fb

Please sign in to comment.