Changeset 560


Ignore:
Timestamp:
Jan 29, 2008, 2:53:47 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #91: Import Illumina scandata files as raw data

A skeleton that installs and compiles.

Location:
trunk/net/sf/basedb/illumina/src/net/sf/basedb/illumina
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/net/sf/basedb/illumina/src/net/sf/basedb/illumina/Illumina.java

    r556 r560  
    2424*/
    2525package net.sf.basedb.illumina;
     26
     27import net.sf.basedb.core.RawDataType;
     28import net.sf.basedb.core.RawDataTypes;
    2629
    2730
     
    5255  /**
    5356    The ID for the main Illumina platform item. Use
    54     <code>Platform.getByExternalId(dc, Illumina.PLATFORM)<code>
     57    <code>Platform.getByExternalId(dc, Illumina.PLATFORM_ID)<code>
    5558    to load this item.
    5659  */
    57   public static final String PLATFORM = "illumina";
     60  public static final String PLATFORM_ID = "illumina";
    5861 
     62  /**
     63    The ID of the raw data type used to hold scandata raw data.
     64    Use {@link #getScanDataType()} to get the raw data type object.
     65  */
     66  public static final String SCANDATA_ID = "illumina_scandata";
    5967 
    6068  /**
    6169    The ID for the BGX {@link DataFileType}. Use
    62     <code>DataFileType.getByExternalId(dc, Illumina.BGX_FILE)</code>
     70    <code>DataFileType.getByExternalId(dc, Illumina.BGX_FILE_ID)</code>
    6371    to load this item.
    6472  */
    65   public static final String BGX_FILE = "illumina.bgx";
     73  public static final String BGX_FILE_ID = "illumina.bgx";
    6674 
    67  
     75  /**
     76    Get the {@link RawDataType} representing the scandata
     77    raw data type.
     78    @return A raw data type (null if this type is not present)
     79  */
     80  public static final RawDataType getScanDataType()
     81  {
     82    return RawDataTypes.getRawDataType(SCANDATA_ID);
     83  }
    6884 
    6985 
Note: See TracChangeset for help on using the changeset viewer.