[med-svn] [Git][med-team/ncbi-entrez-direct][master] 4 commits: Add autopkgtest template

Pranav Ballaney gitlab at salsa.debian.org
Wed May 6 14:43:12 BST 2020



Pranav Ballaney pushed to branch master at Debian Med / ncbi-entrez-direct


Commits:
1f3be533 by Pranav Ballaney at 2020-05-06T18:25:56+05:30
Add autopkgtest template

- - - - -
ef383220 by Pranav Ballaney at 2020-05-06T18:29:39+05:30
Install examples and docs

- - - - -
95c57a78 by Pranav Ballaney at 2020-05-06T19:10:43+05:30
Add autopkgtests

- - - - -
5ec663e5 by Pranav Ballaney at 2020-05-06T19:12:40+05:30
Update changelog

- - - - -


14 changed files:

- + debian/README.test
- debian/changelog
- debian/docs
- debian/examples
- + debian/tests/control
- + debian/tests/data/list1
- + debian/tests/data/list2
- + debian/tests/data/list3
- + debian/tests/data/sample.gbf
- + debian/tests/data/sample.json
- + debian/tests/data/sample.xml
- + debian/tests/data/sample_query.xml
- + debian/tests/data/stopwords
- + debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ncbi-entrez-direct (12.0.20190816+ds-2) UNRELEASED; urgency=medium
+
+  * Add autopkgtests
+
+ -- Pranav Ballaney <ballaneypranav at gmail.com>  Wed, 06 May 2020 19:11:16 +0530
+
 ncbi-entrez-direct (12.0.20190816+ds-1) unstable; urgency=medium
 
   [ Aaron M. Ucko ]


=====================================
debian/docs
=====================================
@@ -1 +1,3 @@
 README
+debian/README.test
+debian/tests/run-unit-test
\ No newline at end of file


=====================================
debian/examples
=====================================
@@ -4,3 +4,4 @@ bt-*
 has-asp
 test-pubmed-index
 xplore
+debian/tests/data/*


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/data/list1
=====================================
@@ -0,0 +1,10 @@
+1246019
+388970
+346446933
+346446931
+346446927
+346446929
+1540347631
+1002351213
+1540347628
+1824675943
\ No newline at end of file


=====================================
debian/tests/data/list2
=====================================
@@ -0,0 +1,5 @@
+388970
+346446927
+346446929
+1002351213
+1540347628


=====================================
debian/tests/data/list3
=====================================
@@ -0,0 +1,14 @@
+1246019
+388970
+346446933
+346446931
+346446927
+346446929
+1540347631
+1002351213
+1540347628
+1824675943388970
+346446927
+346446929
+1002351213
+1540347628


=====================================
debian/tests/data/sample.gbf
=====================================
@@ -0,0 +1,44 @@
+LOCUS       AF068625                 200 bp    mRNA    linear   ROD 06-DEC-1999
+DEFINITION  Mus musculus DNA cytosine-5 methyltransferase 3A (Dnmt3a) mRNA,
+            complete cds.
+ACCESSION   AF068625 REGION: 1..200
+VERSION     AF068625.2  GI:6449467
+KEYWORDS    .
+SOURCE      Mus musculus (house mouse)
+  ORGANISM  Mus musculus
+            Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
+            Mammalia; Eutheria; Euarchontoglires; Glires; Rodentia;
+            Sciurognathi; Muroidea; Muridae; Murinae; Mus.
+REFERENCE   1  (bases 1 to 200)
+  AUTHORS   Okano,M., Xie,S. and Li,E.
+  TITLE     Cloning and characterization of a family of novel mammalian DNA
+            (cytosine-5) methyltransferases
+  JOURNAL   Nat. Genet. 19 (3), 219-220 (1998)
+   PUBMED   9662389
+REFERENCE   2  (bases 1 to 200)
+  AUTHORS   Xie,S., Okano,M. and Li,E.
+  TITLE     Direct Submission
+  JOURNAL   Submitted (28-MAY-1998) CVRC, Mass. Gen. Hospital, 149 13th Street,
+            Charlestown, MA 02129, USA
+REFERENCE   3  (bases 1 to 200)
+  AUTHORS   Okano,M., Chijiwa,T., Sasaki,H. and Li,E.
+  TITLE     Direct Submission
+  JOURNAL   Submitted (04-NOV-1999) CVRC, Mass. Gen. Hospital, 149 13th Street,
+            Charlestown, MA 02129, USA
+  REMARK    Sequence update by submitter
+COMMENT     On Nov 18, 1999 this sequence version replaced gi:3327977.
+FEATURES             Location/Qualifiers
+     source          1..200
+                     /organism="Mus musculus"
+                     /mol_type="mRNA"
+                     /db_xref="taxon:10090"
+                     /chromosome="12"
+                     /map="4.0 cM"
+     gene            1..>200
+                     /gene="Dnmt3a"
+ORIGIN      
+        1 gaattccggc ctgctgccgg gccgcccgac ccgccgggcc acacggcaga gccgcctgaa
+       61 gcccagcgct gaggctgcac ttttccgagg gcttgacatc agggtctatg tttaagtctt
+      121 agctcttgct tacaaagacc acggcaattc cttctctgaa gccctcgcag ccccacagcg
+      181 ccctcgcagc cccagcctgc
+//
\ No newline at end of file


=====================================
debian/tests/data/sample.json
=====================================
@@ -0,0 +1,79 @@
+{
+   "INSDSet" : {
+      "INSDSeq" : {
+         "INSDSeq_topology" : "linear",
+         "INSDSeq_definition" : "Mus musculus DNA cytosine-5 methyltransferase 3A (Dnmt3a) mRNA, complete cds",
+         "INSDSeq_division" : "ROD",
+         "INSDSeq_source" : "Mus musculus (house mouse)",
+         "INSDSeq_update-date" : "06-DEC-1999",
+         "INSDSeq_locus" : "AF068625",
+         "INSDSeq_taxonomy" : "Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia; Eutheria; Euarchontoglires; Glires; Rodentia; Sciurognathi; Muroidea; Muridae; Murinae; Mus",
+         "INSDSeq_feature-table" : {
+            "INSDFeature" : [
+               {
+                  "INSDFeature_quals" : {
+                     "INSDQualifier" : [
+                        {
+                           "INSDQualifier_value" : "Mus musculus",
+                           "INSDQualifier_name" : "organism"
+                        },
+                        {
+                           "INSDQualifier_value" : "mRNA",
+                           "INSDQualifier_name" : "mol_type"
+                        },
+                        {
+                           "INSDQualifier_name" : "db_xref",
+                           "INSDQualifier_value" : "taxon:10090"
+                        },
+                        {
+                           "INSDQualifier_value" : "12",
+                           "INSDQualifier_name" : "chromosome"
+                        },
+                        {
+                           "INSDQualifier_name" : "map",
+                           "INSDQualifier_value" : "4.0 cM"
+                        }
+                     ]
+                  },
+                  "INSDFeature_location" : "1..200",
+                  "INSDFeature_key" : "source",
+                  "INSDFeature_intervals" : {
+                     "INSDInterval" : {
+                        "INSDInterval_to" : "200",
+                        "INSDInterval_accession" : "AF068625.2",
+                        "INSDInterval_from" : "1"
+                     }
+                  }
+               },
+               {
+                  "INSDFeature_quals" : {
+                     "INSDQualifier" : {
+                        "INSDQualifier_name" : "gene",
+                        "INSDQualifier_value" : "Dnmt3a"
+                     }
+                  },
+                  "INSDFeature_key" : "gene",
+                  "INSDFeature_intervals" : {
+                     "INSDInterval" : {
+                        "INSDInterval_from" : "1",
+                        "INSDInterval_to" : "200",
+                        "INSDInterval_accession" : "AF068625.2"
+                     }
+                  },
+                  "INSDFeature_location" : "1..>200",
+                  "INSDFeature_partial3" : {
+                     "value" : "true"
+                  }
+               }
+            ]
+         },
+         "INSDSeq_sequence" : "gaattccggcctgctgccgggccgcccgacccgccgggccacacggcagagccgcctgaagcccagcgctgaggctgcacttttccgagggcttgacatcagggtctatgtttaagtcttagctcttgcttacaaagaccacggcaattccttctctgaagccctcgcagccccacagcgccctcgcagccccagcctgc",
+         "INSDSeq_primary-accession" : "AF068625",
+         "INSDSeq_accession-version" : "AF068625.2",
+         "INSDSeq_length" : "200",
+         "INSDSeq_moltype" : "MRNA",
+         "INSDSeq_organism" : "Mus musculus"
+      }
+   }
+}
+


=====================================
debian/tests/data/sample.xml
=====================================
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE INSDSet PUBLIC "-//NCBI//INSD INSDSeq/EN" "https://www.ncbi.nlm.nih.gov/dtd/INSD_INSDSeq.dtd">
+<INSDSet>
+  <INSDSeq>
+    <INSDSeq_locus>AF068625</INSDSeq_locus>
+    <INSDSeq_length>200</INSDSeq_length>
+    <INSDSeq_moltype>MRNA</INSDSeq_moltype>
+    <INSDSeq_topology>linear</INSDSeq_topology>
+    <INSDSeq_division>ROD</INSDSeq_division>
+    <INSDSeq_update-date>06-DEC-1999</INSDSeq_update-date>
+    <INSDSeq_definition>Mus musculus DNA cytosine-5 methyltransferase 3A (Dnmt3a) mRNA, complete cds</INSDSeq_definition>
+    <INSDSeq_primary-accession>AF068625</INSDSeq_primary-accession>
+    <INSDSeq_accession-version>AF068625.2</INSDSeq_accession-version>
+    <INSDSeq_source>Mus musculus (house mouse)</INSDSeq_source>
+    <INSDSeq_organism>Mus musculus</INSDSeq_organism>
+    <INSDSeq_taxonomy>Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi; Mammalia; Eutheria; Euarchontoglires; Glires; Rodentia; Sciurognathi; Muroidea; Muridae; Murinae; Mus</INSDSeq_taxonomy>
+    <INSDSeq_feature-table>
+      <INSDFeature>
+        <INSDFeature_key>source</INSDFeature_key>
+        <INSDFeature_location>1..200</INSDFeature_location>
+        <INSDFeature_intervals>
+          <INSDInterval>
+            <INSDInterval_from>1</INSDInterval_from>
+            <INSDInterval_to>200</INSDInterval_to>
+            <INSDInterval_accession>AF068625.2</INSDInterval_accession>
+          </INSDInterval>
+        </INSDFeature_intervals>
+        <INSDFeature_quals>
+          <INSDQualifier>
+            <INSDQualifier_name>organism</INSDQualifier_name>
+            <INSDQualifier_value>Mus musculus</INSDQualifier_value>
+          </INSDQualifier>
+          <INSDQualifier>
+            <INSDQualifier_name>mol_type</INSDQualifier_name>
+            <INSDQualifier_value>mRNA</INSDQualifier_value>
+          </INSDQualifier>
+          <INSDQualifier>
+            <INSDQualifier_name>db_xref</INSDQualifier_name>
+            <INSDQualifier_value>taxon:10090</INSDQualifier_value>
+          </INSDQualifier>
+          <INSDQualifier>
+            <INSDQualifier_name>chromosome</INSDQualifier_name>
+            <INSDQualifier_value>12</INSDQualifier_value>
+          </INSDQualifier>
+          <INSDQualifier>
+            <INSDQualifier_name>map</INSDQualifier_name>
+            <INSDQualifier_value>4.0 cM</INSDQualifier_value>
+          </INSDQualifier>
+        </INSDFeature_quals>
+      </INSDFeature>
+      <INSDFeature>
+        <INSDFeature_key>gene</INSDFeature_key>
+        <INSDFeature_location>1..>200</INSDFeature_location>
+        <INSDFeature_intervals>
+          <INSDInterval>
+            <INSDInterval_from>1</INSDInterval_from>
+            <INSDInterval_to>200</INSDInterval_to>
+            <INSDInterval_accession>AF068625.2</INSDInterval_accession>
+          </INSDInterval>
+        </INSDFeature_intervals>
+        <INSDFeature_partial3 value="true"/>
+        <INSDFeature_quals>
+          <INSDQualifier>
+            <INSDQualifier_name>gene</INSDQualifier_name>
+            <INSDQualifier_value>Dnmt3a</INSDQualifier_value>
+          </INSDQualifier>
+        </INSDFeature_quals>
+      </INSDFeature>
+    </INSDSeq_feature-table>
+    <INSDSeq_sequence>gaattccggcctgctgccgggccgcccgacccgccgggccacacggcagagccgcctgaagcccagcgctgaggctgcacttttccgagggcttgacatcagggtctatgtttaagtcttagctcttgcttacaaagaccacggcaattccttctctgaagccctcgcagccccacagcgccctcgcagccccagcctgc</INSDSeq_sequence>
+  </INSDSeq>
+</INSDSet>


=====================================
debian/tests/data/sample_query.xml
=====================================
@@ -0,0 +1,1225 @@
+<?xml version="1.0" ?>
+<!DOCTYPE Entrezgene-Set PUBLIC "-//NLM//DTD NCBI-Entrezgene, 21st January 2005//EN" "https://www.ncbi.nlm.nih.gov/data_specs/dtd/NCBI_Entrezgene.dtd">
+<Entrezgene-Set>
+<Entrezgene>
+  <Entrezgene_track-info>
+    <Gene-track>
+      <Gene-track_geneid>100645650</Gene-track_geneid>
+      <Gene-track_status value="live">0</Gene-track_status>
+      <Gene-track_create-date>
+        <Date>
+          <Date_std>
+            <Date-std>
+              <Date-std_year>2011</Date-std_year>
+              <Date-std_month>7</Date-std_month>
+              <Date-std_day>15</Date-std_day>
+            </Date-std>
+          </Date_std>
+        </Date>
+      </Gene-track_create-date>
+      <Gene-track_update-date>
+        <Date>
+          <Date_std>
+            <Date-std>
+              <Date-std_year>2020</Date-std_year>
+              <Date-std_month>4</Date-std_month>
+              <Date-std_day>21</Date-std_day>
+              <Date-std_hour>8</Date-std_hour>
+              <Date-std_minute>8</Date-std_minute>
+              <Date-std_second>0</Date-std_second>
+            </Date-std>
+          </Date_std>
+        </Date>
+      </Gene-track_update-date>
+    </Gene-track>
+  </Entrezgene_track-info>
+  <Entrezgene_type value="protein-coding">6</Entrezgene_type>
+  <Entrezgene_source>
+    <BioSource>
+      <BioSource_genome value="genomic">1</BioSource_genome>
+      <BioSource_origin value="natural">1</BioSource_origin>
+      <BioSource_org>
+        <Org-ref>
+          <Org-ref_taxname>Bombus terrestris</Org-ref_taxname>
+          <Org-ref_common>buff-tailed bumblebee</Org-ref_common>
+          <Org-ref_db>
+            <Dbtag>
+              <Dbtag_db>taxon</Dbtag_db>
+              <Dbtag_tag>
+                <Object-id>
+                  <Object-id_id>30195</Object-id_id>
+                </Object-id>
+              </Dbtag_tag>
+            </Dbtag>
+          </Org-ref_db>
+          <Org-ref_orgname>
+            <OrgName>
+              <OrgName_name>
+                <OrgName_name_binomial>
+                  <BinomialOrgName>
+                    <BinomialOrgName_genus>Bombus</BinomialOrgName_genus>
+                    <BinomialOrgName_species>terrestris</BinomialOrgName_species>
+                  </BinomialOrgName>
+                </OrgName_name_binomial>
+              </OrgName_name>
+              <OrgName_attrib>specified</OrgName_attrib>
+              <OrgName_lineage>Eukaryota; Metazoa; Ecdysozoa; Arthropoda; Hexapoda; Insecta; Pterygota; Neoptera; Holometabola; Hymenoptera; Apocrita; Aculeata; Apoidea; Apidae; Bombus; Bombus</OrgName_lineage>
+              <OrgName_gcode>1</OrgName_gcode>
+              <OrgName_mgcode>5</OrgName_mgcode>
+              <OrgName_div>INV</OrgName_div>
+            </OrgName>
+          </Org-ref_orgname>
+        </Org-ref>
+      </BioSource_org>
+      <BioSource_subtype>
+        <SubSource>
+          <SubSource_subtype value="chromosome">1</SubSource_subtype>
+          <SubSource_name>LG B12</SubSource_name>
+        </SubSource>
+      </BioSource_subtype>
+    </BioSource>
+  </Entrezgene_source>
+  <Entrezgene_gene>
+    <Gene-ref>
+      <Gene-ref_locus>LOC100645650</Gene-ref_locus>
+      <Gene-ref_desc>putative fatty acyl-CoA reductase CG5065</Gene-ref_desc>
+      <Gene-ref_maploc>LG B12</Gene-ref_maploc>
+    </Gene-ref>
+  </Entrezgene_gene>
+  <Entrezgene_prot>
+    <Prot-ref>
+      <Prot-ref_desc>putative fatty acyl-CoA reductase CG5065</Prot-ref_desc>
+    </Prot-ref>
+  </Entrezgene_prot>
+  <Entrezgene_gene-source>
+    <Gene-source>
+      <Gene-source_src>LocusLink</Gene-source_src>
+      <Gene-source_src-int>100645650</Gene-source_src-int>
+      <Gene-source_src-str2>100645650</Gene-source_src-str2>
+    </Gene-source>
+  </Entrezgene_gene-source>
+  <Entrezgene_locus>
+    <Gene-commentary>
+      <Gene-commentary_type value="genomic">1</Gene-commentary_type>
+      <Gene-commentary_heading>Reference Bter_1.0</Gene-commentary_heading>
+      <Gene-commentary_label>Chromosome LG B12 Reference Bter_1.0</Gene-commentary_label>
+      <Gene-commentary_accession>NC_015773</Gene-commentary_accession>
+      <Gene-commentary_version>1</Gene-commentary_version>
+      <Gene-commentary_seqs>
+        <Seq-loc>
+          <Seq-loc_int>
+            <Seq-interval>
+              <Seq-interval_from>7277255</Seq-interval_from>
+              <Seq-interval_to>7286178</Seq-interval_to>
+              <Seq-interval_strand>
+                <Na-strand value="minus"/>
+              </Seq-interval_strand>
+              <Seq-interval_id>
+                <Seq-id>
+                  <Seq-id_gi>339751241</Seq-id_gi>
+                </Seq-id>
+              </Seq-interval_id>
+            </Seq-interval>
+          </Seq-loc_int>
+        </Seq-loc>
+      </Gene-commentary_seqs>
+      <Gene-commentary_products>
+        <Gene-commentary>
+          <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+          <Gene-commentary_heading>Reference</Gene-commentary_heading>
+          <Gene-commentary_label>transcript variant X1</Gene-commentary_label>
+          <Gene-commentary_accession>XM_003399832</Gene-commentary_accession>
+          <Gene-commentary_version>3</Gene-commentary_version>
+          <Gene-commentary_genomic-coords>
+            <Seq-loc>
+              <Seq-loc_mix>
+                <Seq-loc-mix>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7286046</Seq-interval_from>
+                        <Seq-interval_to>7286178</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7285829</Seq-interval_from>
+                        <Seq-interval_to>7285949</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7280841</Seq-interval_from>
+                        <Seq-interval_to>7281048</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7279196</Seq-interval_from>
+                        <Seq-interval_to>7279435</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7278768</Seq-interval_from>
+                        <Seq-interval_to>7279032</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7278243</Seq-interval_from>
+                        <Seq-interval_to>7278545</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7277877</Seq-interval_from>
+                        <Seq-interval_to>7278084</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7277255</Seq-interval_from>
+                        <Seq-interval_to>7277792</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                </Seq-loc-mix>
+              </Seq-loc_mix>
+            </Seq-loc>
+          </Gene-commentary_genomic-coords>
+          <Gene-commentary_seqs>
+            <Seq-loc>
+              <Seq-loc_whole>
+                <Seq-id>
+                  <Seq-id_gi>1185560914</Seq-id_gi>
+                </Seq-id>
+              </Seq-loc_whole>
+            </Seq-loc>
+          </Gene-commentary_seqs>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+              <Gene-commentary_heading>Reference</Gene-commentary_heading>
+              <Gene-commentary_accession>XP_003399880</Gene-commentary_accession>
+              <Gene-commentary_version>1</Gene-commentary_version>
+              <Gene-commentary_genomic-coords>
+                <Seq-loc>
+                  <Seq-loc_mix>
+                    <Seq-loc-mix>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7280841</Seq-interval_from>
+                            <Seq-interval_to>7281035</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7279196</Seq-interval_from>
+                            <Seq-interval_to>7279435</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7278768</Seq-interval_from>
+                            <Seq-interval_to>7279032</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7278243</Seq-interval_from>
+                            <Seq-interval_to>7278545</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7277877</Seq-interval_from>
+                            <Seq-interval_to>7278084</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7277489</Seq-interval_from>
+                            <Seq-interval_to>7277792</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                    </Seq-loc-mix>
+                  </Seq-loc_mix>
+                </Seq-loc>
+              </Gene-commentary_genomic-coords>
+              <Gene-commentary_seqs>
+                <Seq-loc>
+                  <Seq-loc_whole>
+                    <Seq-id>
+                      <Seq-id_gi>340722986</Seq-id_gi>
+                    </Seq-id>
+                  </Seq-loc_whole>
+                </Seq-loc>
+              </Gene-commentary_seqs>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+        <Gene-commentary>
+          <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+          <Gene-commentary_heading>Reference</Gene-commentary_heading>
+          <Gene-commentary_label>transcript variant X2</Gene-commentary_label>
+          <Gene-commentary_accession>XM_012315143</Gene-commentary_accession>
+          <Gene-commentary_version>2</Gene-commentary_version>
+          <Gene-commentary_genomic-coords>
+            <Seq-loc>
+              <Seq-loc_mix>
+                <Seq-loc-mix>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7286042</Seq-interval_from>
+                        <Seq-interval_to>7286178</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7285829</Seq-interval_from>
+                        <Seq-interval_to>7285949</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7280841</Seq-interval_from>
+                        <Seq-interval_to>7281048</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7279196</Seq-interval_from>
+                        <Seq-interval_to>7279435</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7278768</Seq-interval_from>
+                        <Seq-interval_to>7279032</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7278243</Seq-interval_from>
+                        <Seq-interval_to>7278545</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7277877</Seq-interval_from>
+                        <Seq-interval_to>7278084</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                  <Seq-loc>
+                    <Seq-loc_int>
+                      <Seq-interval>
+                        <Seq-interval_from>7277255</Seq-interval_from>
+                        <Seq-interval_to>7277792</Seq-interval_to>
+                        <Seq-interval_strand>
+                          <Na-strand value="minus"/>
+                        </Seq-interval_strand>
+                        <Seq-interval_id>
+                          <Seq-id>
+                            <Seq-id_gi>339751241</Seq-id_gi>
+                          </Seq-id>
+                        </Seq-interval_id>
+                      </Seq-interval>
+                    </Seq-loc_int>
+                  </Seq-loc>
+                </Seq-loc-mix>
+              </Seq-loc_mix>
+            </Seq-loc>
+          </Gene-commentary_genomic-coords>
+          <Gene-commentary_seqs>
+            <Seq-loc>
+              <Seq-loc_whole>
+                <Seq-id>
+                  <Seq-id_gi>1185560915</Seq-id_gi>
+                </Seq-id>
+              </Seq-loc_whole>
+            </Seq-loc>
+          </Gene-commentary_seqs>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+              <Gene-commentary_heading>Reference</Gene-commentary_heading>
+              <Gene-commentary_accession>XP_012170533</Gene-commentary_accession>
+              <Gene-commentary_version>1</Gene-commentary_version>
+              <Gene-commentary_genomic-coords>
+                <Seq-loc>
+                  <Seq-loc_mix>
+                    <Seq-loc-mix>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7280841</Seq-interval_from>
+                            <Seq-interval_to>7281035</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7279196</Seq-interval_from>
+                            <Seq-interval_to>7279435</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7278768</Seq-interval_from>
+                            <Seq-interval_to>7279032</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7278243</Seq-interval_from>
+                            <Seq-interval_to>7278545</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7277877</Seq-interval_from>
+                            <Seq-interval_to>7278084</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                      <Seq-loc>
+                        <Seq-loc_int>
+                          <Seq-interval>
+                            <Seq-interval_from>7277489</Seq-interval_from>
+                            <Seq-interval_to>7277792</Seq-interval_to>
+                            <Seq-interval_strand>
+                              <Na-strand value="minus"/>
+                            </Seq-interval_strand>
+                            <Seq-interval_id>
+                              <Seq-id>
+                                <Seq-id_gi>339751241</Seq-id_gi>
+                              </Seq-id>
+                            </Seq-interval_id>
+                          </Seq-interval>
+                        </Seq-loc_int>
+                      </Seq-loc>
+                    </Seq-loc-mix>
+                  </Seq-loc_mix>
+                </Seq-loc>
+              </Gene-commentary_genomic-coords>
+              <Gene-commentary_seqs>
+                <Seq-loc>
+                  <Seq-loc_whole>
+                    <Seq-id>
+                      <Seq-id_gi>808136365</Seq-id_gi>
+                    </Seq-id>
+                  </Seq-loc_whole>
+                </Seq-loc>
+              </Gene-commentary_seqs>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+      </Gene-commentary_products>
+    </Gene-commentary>
+  </Entrezgene_locus>
+  <Entrezgene_properties>
+    <Gene-commentary>
+      <Gene-commentary_type value="property">16</Gene-commentary_type>
+      <Gene-commentary_label>Exon count</Gene-commentary_label>
+      <Gene-commentary_text>8</Gene-commentary_text>
+    </Gene-commentary>
+  </Entrezgene_properties>
+  <Entrezgene_comments>
+    <Gene-commentary>
+      <Gene-commentary_type value="comment">254</Gene-commentary_type>
+      <Gene-commentary_heading>RefSeq Status</Gene-commentary_heading>
+      <Gene-commentary_label>MODEL</Gene-commentary_label>
+    </Gene-commentary>
+    <Gene-commentary>
+      <Gene-commentary_type value="comment">254</Gene-commentary_type>
+      <Gene-commentary_heading>NCBI Reference Sequences (RefSeq)</Gene-commentary_heading>
+      <Gene-commentary_comment>
+        <Gene-commentary>
+          <Gene-commentary_type value="comment">254</Gene-commentary_type>
+          <Gene-commentary_heading>RefSeqs of Annotated Genomes: Bombus terrestris Annotation Release 102</Gene-commentary_heading>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="genomic">1</Gene-commentary_type>
+              <Gene-commentary_heading>Reference Bter_1.0</Gene-commentary_heading>
+              <Gene-commentary_accession>NC_015773</Gene-commentary_accession>
+              <Gene-commentary_version>1</Gene-commentary_version>
+              <Gene-commentary_source>
+                <Other-source>
+                  <Other-source_src>
+                    <Dbtag>
+                      <Dbtag_db>Nucleotide</Dbtag_db>
+                      <Dbtag_tag>
+                        <Object-id>
+                          <Object-id_id>339751241</Object-id_id>
+                        </Object-id>
+                      </Dbtag_tag>
+                    </Dbtag>
+                  </Other-source_src>
+                </Other-source>
+              </Gene-commentary_source>
+              <Gene-commentary_seqs>
+                <Seq-loc>
+                  <Seq-loc_int>
+                    <Seq-interval>
+                      <Seq-interval_from>7277255</Seq-interval_from>
+                      <Seq-interval_to>7286178</Seq-interval_to>
+                      <Seq-interval_strand>
+                        <Na-strand value="minus"/>
+                      </Seq-interval_strand>
+                      <Seq-interval_id>
+                        <Seq-id>
+                          <Seq-id_gi>339751241</Seq-id_gi>
+                        </Seq-id>
+                      </Seq-interval_id>
+                    </Seq-interval>
+                  </Seq-loc_int>
+                </Seq-loc>
+              </Gene-commentary_seqs>
+              <Gene-commentary_products>
+                <Gene-commentary>
+                  <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+                  <Gene-commentary_accession>XM_003399832</Gene-commentary_accession>
+                  <Gene-commentary_version>3</Gene-commentary_version>
+                  <Gene-commentary_source>
+                    <Other-source>
+                      <Other-source_src>
+                        <Dbtag>
+                          <Dbtag_db>Nucleotide</Dbtag_db>
+                          <Dbtag_tag>
+                            <Object-id>
+                              <Object-id_id>1185560914</Object-id_id>
+                            </Object-id>
+                          </Dbtag_tag>
+                        </Dbtag>
+                      </Other-source_src>
+                    </Other-source>
+                  </Gene-commentary_source>
+                  <Gene-commentary_seqs>
+                    <Seq-loc>
+                      <Seq-loc_whole>
+                        <Seq-id>
+                          <Seq-id_gi>1185560914</Seq-id_gi>
+                        </Seq-id>
+                      </Seq-loc_whole>
+                    </Seq-loc>
+                  </Gene-commentary_seqs>
+                  <Gene-commentary_products>
+                    <Gene-commentary>
+                      <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+                      <Gene-commentary_accession>XP_003399880</Gene-commentary_accession>
+                      <Gene-commentary_version>1</Gene-commentary_version>
+                      <Gene-commentary_source>
+                        <Other-source>
+                          <Other-source_src>
+                            <Dbtag>
+                              <Dbtag_db>Protein</Dbtag_db>
+                              <Dbtag_tag>
+                                <Object-id>
+                                  <Object-id_id>340722986</Object-id_id>
+                                </Object-id>
+                              </Dbtag_tag>
+                            </Dbtag>
+                          </Other-source_src>
+                          <Other-source_anchor>XP_003399880</Other-source_anchor>
+                          <Other-source_post-text>putative fatty acyl-CoA reductase CG5065</Other-source_post-text>
+                        </Other-source>
+                      </Gene-commentary_source>
+                      <Gene-commentary_seqs>
+                        <Seq-loc>
+                          <Seq-loc_whole>
+                            <Seq-id>
+                              <Seq-id_gi>340722986</Seq-id_gi>
+                            </Seq-id>
+                          </Seq-loc_whole>
+                        </Seq-loc>
+                      </Gene-commentary_seqs>
+                      <Gene-commentary_comment>
+                        <Gene-commentary>
+                          <Gene-commentary_type value="other">255</Gene-commentary_type>
+                          <Gene-commentary_heading>Conserved Domains</Gene-commentary_heading>
+                          <Gene-commentary_source>
+                            <Other-source>
+                              <Other-source_pre-text>(3)</Other-source_pre-text>
+                              <Other-source_anchor>summary</Other-source_anchor>
+                            </Other-source>
+                          </Gene-commentary_source>
+                          <Gene-commentary_comment>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>187547</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>cd05236: FAR-N_SDR_e; fatty acyl CoA reductases (FARs), extended (e) SDRs</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 15 - 332</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>215538</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>PLN02996: PLN02996; fatty acyl-CoA reductase</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 4 - 449</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>281068</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>pfam03015: Sterile; Male sterility protein</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 359 - 449</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                          </Gene-commentary_comment>
+                        </Gene-commentary>
+                      </Gene-commentary_comment>
+                    </Gene-commentary>
+                  </Gene-commentary_products>
+                </Gene-commentary>
+                <Gene-commentary>
+                  <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+                  <Gene-commentary_accession>XM_012315143</Gene-commentary_accession>
+                  <Gene-commentary_version>2</Gene-commentary_version>
+                  <Gene-commentary_source>
+                    <Other-source>
+                      <Other-source_src>
+                        <Dbtag>
+                          <Dbtag_db>Nucleotide</Dbtag_db>
+                          <Dbtag_tag>
+                            <Object-id>
+                              <Object-id_id>1185560915</Object-id_id>
+                            </Object-id>
+                          </Dbtag_tag>
+                        </Dbtag>
+                      </Other-source_src>
+                    </Other-source>
+                  </Gene-commentary_source>
+                  <Gene-commentary_seqs>
+                    <Seq-loc>
+                      <Seq-loc_whole>
+                        <Seq-id>
+                          <Seq-id_gi>1185560915</Seq-id_gi>
+                        </Seq-id>
+                      </Seq-loc_whole>
+                    </Seq-loc>
+                  </Gene-commentary_seqs>
+                  <Gene-commentary_products>
+                    <Gene-commentary>
+                      <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+                      <Gene-commentary_accession>XP_012170533</Gene-commentary_accession>
+                      <Gene-commentary_version>1</Gene-commentary_version>
+                      <Gene-commentary_source>
+                        <Other-source>
+                          <Other-source_src>
+                            <Dbtag>
+                              <Dbtag_db>Protein</Dbtag_db>
+                              <Dbtag_tag>
+                                <Object-id>
+                                  <Object-id_id>808136365</Object-id_id>
+                                </Object-id>
+                              </Dbtag_tag>
+                            </Dbtag>
+                          </Other-source_src>
+                          <Other-source_anchor>XP_012170533</Other-source_anchor>
+                          <Other-source_post-text>putative fatty acyl-CoA reductase CG5065</Other-source_post-text>
+                        </Other-source>
+                      </Gene-commentary_source>
+                      <Gene-commentary_seqs>
+                        <Seq-loc>
+                          <Seq-loc_whole>
+                            <Seq-id>
+                              <Seq-id_gi>808136365</Seq-id_gi>
+                            </Seq-id>
+                          </Seq-loc_whole>
+                        </Seq-loc>
+                      </Gene-commentary_seqs>
+                      <Gene-commentary_comment>
+                        <Gene-commentary>
+                          <Gene-commentary_type value="other">255</Gene-commentary_type>
+                          <Gene-commentary_heading>Conserved Domains</Gene-commentary_heading>
+                          <Gene-commentary_source>
+                            <Other-source>
+                              <Other-source_pre-text>(3)</Other-source_pre-text>
+                              <Other-source_anchor>summary</Other-source_anchor>
+                            </Other-source>
+                          </Gene-commentary_source>
+                          <Gene-commentary_comment>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>187547</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>cd05236: FAR-N_SDR_e; fatty acyl CoA reductases (FARs), extended (e) SDRs</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 15 - 332</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>215538</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>PLN02996: PLN02996; fatty acyl-CoA reductase</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 4 - 449</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                            <Gene-commentary>
+                              <Gene-commentary_type value="other">255</Gene-commentary_type>
+                              <Gene-commentary_source>
+                                <Other-source>
+                                  <Other-source_src>
+                                    <Dbtag>
+                                      <Dbtag_db>CDD</Dbtag_db>
+                                      <Dbtag_tag>
+                                        <Object-id>
+                                          <Object-id_id>281068</Object-id_id>
+                                        </Object-id>
+                                      </Dbtag_tag>
+                                    </Dbtag>
+                                  </Other-source_src>
+                                  <Other-source_anchor>pfam03015: Sterile; Male sterility protein</Other-source_anchor>
+                                </Other-source>
+                              </Gene-commentary_source>
+                              <Gene-commentary_comment>
+                                <Gene-commentary>
+                                  <Gene-commentary_type value="other">255</Gene-commentary_type>
+                                  <Gene-commentary_text>Location: 359 - 449</Gene-commentary_text>
+                                </Gene-commentary>
+                              </Gene-commentary_comment>
+                            </Gene-commentary>
+                          </Gene-commentary_comment>
+                        </Gene-commentary>
+                      </Gene-commentary_comment>
+                    </Gene-commentary>
+                  </Gene-commentary_products>
+                </Gene-commentary>
+              </Gene-commentary_products>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+      </Gene-commentary_comment>
+    </Gene-commentary>
+    <Gene-commentary>
+      <Gene-commentary_type value="comment">254</Gene-commentary_type>
+      <Gene-commentary_heading>Related Sequences</Gene-commentary_heading>
+      <Gene-commentary_products>
+        <Gene-commentary>
+          <Gene-commentary_type value="genomic">1</Gene-commentary_type>
+          <Gene-commentary_heading>Genomic</Gene-commentary_heading>
+          <Gene-commentary_accession>AELG01001811</Gene-commentary_accession>
+          <Gene-commentary_version>1</Gene-commentary_version>
+          <Gene-commentary_source>
+            <Other-source>
+              <Other-source_src>
+                <Dbtag>
+                  <Dbtag_db>Nucleotide</Dbtag_db>
+                  <Dbtag_tag>
+                    <Object-id>
+                      <Object-id_id>313880440</Object-id_id>
+                    </Object-id>
+                  </Dbtag_tag>
+                </Dbtag>
+              </Other-source_src>
+              <Other-source_anchor>AELG01001811.1</Other-source_anchor>
+            </Other-source>
+          </Gene-commentary_source>
+          <Gene-commentary_seqs>
+            <Seq-loc>
+              <Seq-loc_int>
+                <Seq-interval>
+                  <Seq-interval_from>2282</Seq-interval_from>
+                  <Seq-interval_to>11205</Seq-interval_to>
+                  <Seq-interval_strand>
+                    <Na-strand value="plus"/>
+                  </Seq-interval_strand>
+                  <Seq-interval_id>
+                    <Seq-id>
+                      <Seq-id_gi>313880440</Seq-id_gi>
+                    </Seq-id>
+                  </Seq-interval_id>
+                </Seq-interval>
+              </Seq-loc_int>
+            </Seq-loc>
+          </Gene-commentary_seqs>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+              <Gene-commentary_text>None</Gene-commentary_text>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+        <Gene-commentary>
+          <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+          <Gene-commentary_heading>mRNA</Gene-commentary_heading>
+          <Gene-commentary_accession>JL721175</Gene-commentary_accession>
+          <Gene-commentary_version>1</Gene-commentary_version>
+          <Gene-commentary_source>
+            <Other-source>
+              <Other-source_src>
+                <Dbtag>
+                  <Dbtag_db>Nucleotide</Dbtag_db>
+                  <Dbtag_tag>
+                    <Object-id>
+                      <Object-id_id>335141031</Object-id_id>
+                    </Object-id>
+                  </Dbtag_tag>
+                </Dbtag>
+              </Other-source_src>
+              <Other-source_anchor>JL721175.1</Other-source_anchor>
+            </Other-source>
+          </Gene-commentary_source>
+          <Gene-commentary_seqs>
+            <Seq-loc>
+              <Seq-loc_whole>
+                <Seq-id>
+                  <Seq-id_gi>335141031</Seq-id_gi>
+                </Seq-id>
+              </Seq-loc_whole>
+            </Seq-loc>
+          </Gene-commentary_seqs>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+              <Gene-commentary_text>None</Gene-commentary_text>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+        <Gene-commentary>
+          <Gene-commentary_type value="mRNA">3</Gene-commentary_type>
+          <Gene-commentary_heading>mRNA</Gene-commentary_heading>
+          <Gene-commentary_accession>JL816684</Gene-commentary_accession>
+          <Gene-commentary_version>1</Gene-commentary_version>
+          <Gene-commentary_source>
+            <Other-source>
+              <Other-source_src>
+                <Dbtag>
+                  <Dbtag_db>Nucleotide</Dbtag_db>
+                  <Dbtag_tag>
+                    <Object-id>
+                      <Object-id_id>335236631</Object-id_id>
+                    </Object-id>
+                  </Dbtag_tag>
+                </Dbtag>
+              </Other-source_src>
+              <Other-source_anchor>JL816684.1</Other-source_anchor>
+            </Other-source>
+          </Gene-commentary_source>
+          <Gene-commentary_seqs>
+            <Seq-loc>
+              <Seq-loc_whole>
+                <Seq-id>
+                  <Seq-id_gi>335236631</Seq-id_gi>
+                </Seq-id>
+              </Seq-loc_whole>
+            </Seq-loc>
+          </Gene-commentary_seqs>
+          <Gene-commentary_products>
+            <Gene-commentary>
+              <Gene-commentary_type value="peptide">8</Gene-commentary_type>
+              <Gene-commentary_text>None</Gene-commentary_text>
+            </Gene-commentary>
+          </Gene-commentary_products>
+        </Gene-commentary>
+      </Gene-commentary_products>
+    </Gene-commentary>
+    <Gene-commentary>
+      <Gene-commentary_type value="comment">254</Gene-commentary_type>
+      <Gene-commentary_heading>Gene Location History</Gene-commentary_heading>
+      <Gene-commentary_comment>
+        <Gene-commentary>
+          <Gene-commentary_type value="comment">254</Gene-commentary_type>
+          <Gene-commentary_heading>Bombus terrestris Annotation Release 102</Gene-commentary_heading>
+          <Gene-commentary_comment>
+            <Gene-commentary>
+              <Gene-commentary_type value="assembly">24</Gene-commentary_type>
+              <Gene-commentary_heading>Bter_1.0</Gene-commentary_heading>
+              <Gene-commentary_label>Reference</Gene-commentary_label>
+              <Gene-commentary_text>current</Gene-commentary_text>
+              <Gene-commentary_accession>GCF_000214255</Gene-commentary_accession>
+              <Gene-commentary_version>1</Gene-commentary_version>
+              <Gene-commentary_comment>
+                <Gene-commentary>
+                  <Gene-commentary_type value="assembly-unit">25</Gene-commentary_type>
+                  <Gene-commentary_heading>Primary Assembly</Gene-commentary_heading>
+                  <Gene-commentary_accession>GCF_000214265</Gene-commentary_accession>
+                  <Gene-commentary_version>1</Gene-commentary_version>
+                  <Gene-commentary_comment>
+                    <Gene-commentary>
+                      <Gene-commentary_type value="genomic">1</Gene-commentary_type>
+                      <Gene-commentary_label>Linkage Group LG B12</Gene-commentary_label>
+                      <Gene-commentary_accession>NC_015773</Gene-commentary_accession>
+                      <Gene-commentary_version>1</Gene-commentary_version>
+                      <Gene-commentary_seqs>
+                        <Seq-loc>
+                          <Seq-loc_int>
+                            <Seq-interval>
+                              <Seq-interval_from>7277255</Seq-interval_from>
+                              <Seq-interval_to>7286178</Seq-interval_to>
+                              <Seq-interval_strand>
+                                <Na-strand value="minus"/>
+                              </Seq-interval_strand>
+                              <Seq-interval_id>
+                                <Seq-id>
+                                  <Seq-id_gi>339751241</Seq-id_gi>
+                                </Seq-id>
+                              </Seq-interval_id>
+                            </Seq-interval>
+                          </Seq-loc_int>
+                        </Seq-loc>
+                      </Gene-commentary_seqs>
+                    </Gene-commentary>
+                  </Gene-commentary_comment>
+                </Gene-commentary>
+              </Gene-commentary_comment>
+            </Gene-commentary>
+          </Gene-commentary_comment>
+        </Gene-commentary>
+      </Gene-commentary_comment>
+    </Gene-commentary>
+  </Entrezgene_comments>
+  <Entrezgene_unique-keys>
+    <Dbtag>
+      <Dbtag_db>LocusID</Dbtag_db>
+      <Dbtag_tag>
+        <Object-id>
+          <Object-id_id>100645650</Object-id_id>
+        </Object-id>
+      </Dbtag_tag>
+    </Dbtag>
+  </Entrezgene_unique-keys>
+  <Entrezgene_xtra-index-terms>
+    <Entrezgene_xtra-index-terms_E>LOC100645650</Entrezgene_xtra-index-terms_E>
+  </Entrezgene_xtra-index-terms>
+</Entrezgene>
+</Entrezgene-Set>


=====================================
debian/tests/data/stopwords
=====================================
@@ -0,0 +1,138 @@
+a
+about
+again
+all
+almost
+also
+although
+always
+among
+an
+and
+another
+any
+are
+as
+at
+be
+because
+been
+before
+being
+between
+biology
+both
+but
+by
+can
+could
+did
+do
+does
+done
+due
+during
+each
+either
+enough
+especially
+etc
+for
+found
+from
+further
+gene
+genome
+had
+has
+have
+having
+here
+how
+however
+i
+if
+in
+into
+is
+it
+its
+itself
+just
+kg
+km
+made
+mainly
+make
+may
+mg
+might
+mitochondria
+ml
+mm
+most
+mostly
+must
+nearly
+neither
+no
+nor
+obtained
+of
+often
+on
+our
+overall
+perhaps
+pmid
+protein
+quite
+rather
+really
+regarding
+seem
+seen
+several
+should
+show
+showed
+shown
+shows
+significantly
+since
+so
+some
+such
+than
+that
+the
+their
+theirs
+them
+then
+there
+therefore
+these
+they
+this
+those
+through
+thus
+to
+upon
+use
+used
+using
+various
+very
+was
+we
+were
+what
+when
+which
+while
+with
+within
+without
+would
\ No newline at end of file


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,95 @@
+#!/bin/bash
+set -e
+
+pkg=ncbi-entrez-direct
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # Double quote below to expand the temporary directory variable now versus
+  # later is on purpose.
+  # shellcheck disable=SC2064
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+gunzip -r *
+
+echo -e "\e[93m\e[1mTest 1: amino-acid-composition\e[0m"
+aac1=$(echo qwertyuiopasdfghjklzxcvbnm | amino-acid-composition | cut -f2 | tr -d '\n')
+test $aac1 = 11111111111111111111111111
+aac2=$(echo acdefglki | amino-acid-composition | cut -f2 | tr -d '\n')
+test $aac2 = 10010101010111010000000000
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 2: esample\e[0m"
+esample -article 
+esample -book 
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 3: exclude-uid-lists\e[0m"
+exclude-uid-lists list1 list2 
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 4: filter-stop-words\e[0m"
+filter-stop-words stopwords
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo 
+echo -e "\e[93m\e[1mTest 5: gbf2xml\e[0m"
+gbf2xml sample.gbf
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo 
+echo -e "\e[93m\e[1mTest 6: intersect-uid-lists\e[0m"
+intersect-uid-lists list1 list2
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 7: j2x\e[0m"
+j2x -input sample.json
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo 
+echo -e "\e[93m\e[1mTest 8: join-into-groups-of\e[0m"
+join-into-groups-of 3 < list1
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 9: sort-uniq-count\e[0m"
+sort-uniq-count < list3
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 10: sort-uniq-count-rank\e[0m"
+sort-uniq-count-rank < list3
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 11: transmute json to xml\e[0m"
+transmute -j2x < sample.json
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 12: transmute xml to json\e[0m"
+transmute -x2j < sample.xml
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 13: word-at-a-time\e[0m"
+head -n10 stopwords | tr '\n' ' ' | word-at-a-time
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo 
+echo -e "\e[93m\e[1mTest 14: xml2tbl\e[0m"
+cat sample.xml | xml2tbl
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+
+echo -e "\e[93m\e[1mTest 15: xtract\e[0m"
+xtract -input sample_query.xml -pattern Gene-commentary  -match Gene-commentary_type:1 -element Gene-commentary_accession
+echo -e "\e[92m\e[1mPassed\e[0m"
+echo
+



View it on GitLab: https://salsa.debian.org/med-team/ncbi-entrez-direct/-/compare/c5df0561fcbaf3994dd25d58091ddfab31cfccf5...5ec663e5765a37cfb4ef4e9e429c715875cc5a26

-- 
View it on GitLab: https://salsa.debian.org/med-team/ncbi-entrez-direct/-/compare/c5df0561fcbaf3994dd25d58091ddfab31cfccf5...5ec663e5765a37cfb4ef4e9e429c715875cc5a26
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200506/af02a9c5/attachment-0001.html>


More information about the debian-med-commit mailing list