Class MapperIndexDataFormat
java.lang.Object
fr.ens.biologie.genomique.eoulsan.data.MapperIndexDataFormat
- All Implemented Interfaces:
DataFormat,Serializable
This class define a DataFormat from an XML file.
- Since:
- 2.6
- Author:
- Laurent Jourdren
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMapperIndexDataFormat(fr.ens.biologie.genomique.kenetre.bio.readmapper.Mapper mapper) Public constructor.MapperIndexDataFormat(String mapperName) Public constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAlias()Get the alias of the name of the format.Get the checker needed to check data of this type.Get the content type.Get the default extension of the DataType.Get the description of the format.Get the name of the design metadata key of the design file that can provide the DataFile.Get the extensions for the DataTypeGet the extension from Galaxy tool file of the DataType.Get the step needed to generate the DataType from DataTypes provided by the Design file.intGet the maximal number of files used to store data of this format.Get the merger class related to this type.getName()Get the name of the format.Get DataFormat prefix.Get the name of the sample metadata key of the design file that can provide the DataFile.Get the splitter class related to this type.inthashCode()booleanTest if a checker is available for this DataFormat.booleanTest if the DataFormat is provided by the design file.booleanTest if a generator is available for this DataFormat.booleanisMerger()Test if a merger class is available for this DataFormat.booleanTest if there is only one file for this DataType per analysis.booleanTest if a splitter class is available for this DataFormat.toString()
-
Constructor Details
-
MapperIndexDataFormat
public MapperIndexDataFormat(fr.ens.biologie.genomique.kenetre.bio.readmapper.Mapper mapper) Public constructor.- Parameters:
mapper- the mapper
-
MapperIndexDataFormat
Public constructor.- Parameters:
mapperName- name of the mapper
-
-
Method Details
-
getName
Description copied from interface:DataFormatGet the name of the format.- Specified by:
getNamein interfaceDataFormat- Returns:
- the name of the format
-
getAlias
Description copied from interface:DataFormatGet the alias of the name of the format. The alias is optional.- Specified by:
getAliasin interfaceDataFormat- Returns:
- the alias of the format if exist
-
getPrefix
Description copied from interface:DataFormatGet DataFormat prefix.- Specified by:
getPrefixin interfaceDataFormat- Returns:
- the DataFormat prefix
-
isOneFilePerAnalysis
public boolean isOneFilePerAnalysis()Description copied from interface:DataFormatTest if there is only one file for this DataType per analysis.- Specified by:
isOneFilePerAnalysisin interfaceDataFormat- Returns:
- true if there is only one file for this DataType per analysis
-
isDataFormatFromDesignFile
public boolean isDataFormatFromDesignFile()Description copied from interface:DataFormatTest if the DataFormat is provided by the design file.- Specified by:
isDataFormatFromDesignFilein interfaceDataFormat- Returns:
- true if the DataType is provided by the design file
-
getDesignMetadataKeyName
Description copied from interface:DataFormatGet the name of the design metadata key of the design file that can provide the DataFile.- Specified by:
getDesignMetadataKeyNamein interfaceDataFormat- Returns:
- the sample metadata key name
-
getSampleMetadataKeyName
Description copied from interface:DataFormatGet the name of the sample metadata key of the design file that can provide the DataFile.- Specified by:
getSampleMetadataKeyNamein interfaceDataFormat- Returns:
- the sample metadata key name
-
getDefaultExtension
Description copied from interface:DataFormatGet the default extension of the DataType.- Specified by:
getDefaultExtensionin interfaceDataFormat- Returns:
- the default extension
-
getExtensions
Description copied from interface:DataFormatGet the extensions for the DataType- Specified by:
getExtensionsin interfaceDataFormat- Returns:
- an list of strings with the extension of the DataType
-
getGalaxyFormatNames
Description copied from interface:DataFormatGet the extension from Galaxy tool file of the DataType.- Specified by:
getGalaxyFormatNamesin interfaceDataFormat- Returns:
- extension from Galaxy tool
-
isGenerator
public boolean isGenerator()Description copied from interface:DataFormatTest if a generator is available for this DataFormat.- Specified by:
isGeneratorin interfaceDataFormat- Returns:
- true if a generator is available for this DataFormat
-
isChecker
public boolean isChecker()Description copied from interface:DataFormatTest if a checker is available for this DataFormat.- Specified by:
isCheckerin interfaceDataFormat- Returns:
- true if a checker is available for this DataFormat
-
isSplitter
public boolean isSplitter()Description copied from interface:DataFormatTest if a splitter class is available for this DataFormat.- Specified by:
isSplitterin interfaceDataFormat- Returns:
- true if a splitter class is available for this DataFormat
-
isMerger
public boolean isMerger()Description copied from interface:DataFormatTest if a merger class is available for this DataFormat.- Specified by:
isMergerin interfaceDataFormat- Returns:
- true if a merger class is available for this DataFormat
-
getGenerator
Description copied from interface:DataFormatGet the step needed to generate the DataType from DataTypes provided by the Design file.- Specified by:
getGeneratorin interfaceDataFormat- Returns:
- the Step needed to generated the DataType or null if no Step is available for this task
-
getChecker
Description copied from interface:DataFormatGet the checker needed to check data of this type.- Specified by:
getCheckerin interfaceDataFormat- Returns:
- the Checker or null if no Checker is available for this task
-
getSplitter
Description copied from interface:DataFormatGet the splitter class related to this type.- Specified by:
getSplitterin interfaceDataFormat- Returns:
- The Splitter instanced class of null if no Splitter is available for this task
-
getMerger
Description copied from interface:DataFormatGet the merger class related to this type.- Specified by:
getMergerin interfaceDataFormat- Returns:
- The Merger instanced class of null if no Merger is available for this task
-
getContentType
Description copied from interface:DataFormatGet the content type.- Specified by:
getContentTypein interfaceDataFormat- Returns:
- the content type of this format
-
getMaxFilesCount
public int getMaxFilesCount()Description copied from interface:DataFormatGet the maximal number of files used to store data of this format. This value cannot be lower than 1. Common values are 1 or 2.- Specified by:
getMaxFilesCountin interfaceDataFormat- Returns:
- the number of maximal of files used to store data.
-
equals
-
hashCode
public int hashCode() -
toString
-
getDescription
Description copied from interface:DataFormatGet the description of the format.- Specified by:
getDescriptionin interfaceDataFormat- Returns:
- the name of the format
-