Package org.intermine.bio.web.export
Class GFF3Util
- java.lang.Object
-
- org.intermine.bio.web.export.GFF3Util
-
public final class GFF3Util extends java.lang.ObjectUtility methods for GFF3.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.intermine.bio.io.gff3.GFF3RecordmakeGFF3Record(org.intermine.model.bio.SequenceFeature lsf, java.util.Map<java.lang.String,java.lang.String> soClassNameMap, java.lang.String sourceName, java.util.Map<java.lang.String,java.util.List<java.lang.String>> extraAttributes)Create a GFF3Record from a SequenceFeature.static org.intermine.bio.io.gff3.GFF3RecordmakeGFF3Record(org.intermine.model.bio.SequenceFeature lsf, java.util.Map<java.lang.String,java.lang.String> soClassNameMap, java.lang.String sourceName, java.util.Map<java.lang.String,java.util.List<java.lang.String>> extraAttributes, boolean makeUcscCompatible)Create a GFF3Record from a SequenceFeature.
-
-
-
Method Detail
-
makeGFF3Record
public static org.intermine.bio.io.gff3.GFF3Record makeGFF3Record(org.intermine.model.bio.SequenceFeature lsf, java.util.Map<java.lang.String,java.lang.String> soClassNameMap, java.lang.String sourceName, java.util.Map<java.lang.String,java.util.List<java.lang.String>> extraAttributes)Create a GFF3Record from a SequenceFeature.- Parameters:
lsf- the SequenceFeaturesoClassNameMap- a Map from FlyMine class names to SO term namessourceName- the name of the data source encoded in the GFF, so the name of your projectextraAttributes- name/value pairs to add to the attribute field of the GFF3Record- Returns:
- the GFF3Record or null if this lsf has no Chromosome or no Chromosome location
-
makeGFF3Record
public static org.intermine.bio.io.gff3.GFF3Record makeGFF3Record(org.intermine.model.bio.SequenceFeature lsf, java.util.Map<java.lang.String,java.lang.String> soClassNameMap, java.lang.String sourceName, java.util.Map<java.lang.String,java.util.List<java.lang.String>> extraAttributes, boolean makeUcscCompatible)Create a GFF3Record from a SequenceFeature.- Parameters:
lsf- the SequenceFeaturesoClassNameMap- a Map from FlyMine class names to SO term namessourceName- the name of the data source encoded in the GFF, so the name of your projectextraAttributes- name/value pairs to add to the attribute field of the GFF3RecordmakeUcscCompatible- if true prefix 'chr' to chromosome names to work with UCSC genome browser and Galaxy- Returns:
- the GFF3Record or null if this lsf has no Chromosome or no Chromosome location
-
-