Class GeneXMLDownloader


  • public class GeneXMLDownloader
    extends java.lang.Object

    Alternative to GeneXMLFromASN1Extractor.

    Downloads NCBI Gene XML from NCBI via eUtils. The class extracts the protein names for each gene and its summary. The downloaded XML may be stored for later use in which case a new download is not required.

    Note that the download is a fragile way to get the required gene information in contrast to GeneXMLFromASN1Extractor. During very long downloads, network issues might corrupt the downloaded data. Also, the download takes a lot of time. It is still feasible for 10-20 taxonomy IDs.

    Author:
    faessler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EUTILS  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EUTILS

        public static java.lang.String EUTILS
    • Constructor Detail

      • GeneXMLDownloader

        public GeneXMLDownloader()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception