No longer supporting YAML file allows us to delete 75% of the sample's codebase
This commit is contained in:
parent
1b45f21774
commit
4d31673cc5
|
|
@ -1,30 +0,0 @@
|
||||||
package org.broadinstitute.sting.gatk.datasources.sample;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by IntelliJ IDEA.
|
|
||||||
* User: brett
|
|
||||||
* Date: Aug 12, 2010
|
|
||||||
* Time: 2:09:16 PM
|
|
||||||
*/
|
|
||||||
public class PropertyDefinition {
|
|
||||||
|
|
||||||
String property;
|
|
||||||
|
|
||||||
String[] values;
|
|
||||||
|
|
||||||
public String getProperty() {
|
|
||||||
return property;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setProperty(String property) {
|
|
||||||
this.property = property;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String[] getValues() {
|
|
||||||
return values;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setValues(String[] values) {
|
|
||||||
this.values = values;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
package org.broadinstitute.sting.gatk.datasources.sample;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by IntelliJ IDEA.
|
|
||||||
* User: brett
|
|
||||||
* Date: Aug 13, 2010
|
|
||||||
* Time: 5:13:46 PM
|
|
||||||
*/
|
|
||||||
public class SampleAlias {
|
|
||||||
|
|
||||||
String mainId;
|
|
||||||
|
|
||||||
String[] otherIds;
|
|
||||||
|
|
||||||
public String getMainId() {
|
|
||||||
return mainId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setMainId(String mainId) {
|
|
||||||
this.mainId = mainId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String[] getOtherIds() {
|
|
||||||
return otherIds;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOtherIds(String[] otherIds) {
|
|
||||||
this.otherIds = otherIds;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
||||||
package org.broadinstitute.sting.gatk.datasources.sample;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by IntelliJ IDEA.
|
|
||||||
* User: brett
|
|
||||||
* Date: Aug 12, 2010
|
|
||||||
* Time: 1:30:44 PM
|
|
||||||
*/
|
|
||||||
public class SampleFileParser {
|
|
||||||
|
|
||||||
private SampleAlias[] sampleAliases;
|
|
||||||
|
|
||||||
private String[] allowedProperties;
|
|
||||||
|
|
||||||
private String[] allowedRelationships;
|
|
||||||
|
|
||||||
private PropertyDefinition[] propertyDefinitions;
|
|
||||||
|
|
||||||
private SampleParser[] samples;
|
|
||||||
|
|
||||||
public PropertyDefinition[] getPropertyDefinitions() {
|
|
||||||
return propertyDefinitions;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPropertyDefinitions(PropertyDefinition[] propertyDefinitions) {
|
|
||||||
this.propertyDefinitions = propertyDefinitions;
|
|
||||||
}
|
|
||||||
|
|
||||||
public SampleFileParser() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public String[] getAllowedProperties() {
|
|
||||||
return allowedProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAllowedProperties(String[] allowedProperties) {
|
|
||||||
this.allowedProperties = allowedProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public SampleParser[] getSamples() {
|
|
||||||
return samples;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSamples(SampleParser[] samples) {
|
|
||||||
this.samples = samples;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String[] getAllowedRelationships() {
|
|
||||||
return allowedRelationships;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAllowedRelationships(String[] allowedRelationships) {
|
|
||||||
this.allowedRelationships = allowedRelationships;
|
|
||||||
}
|
|
||||||
|
|
||||||
public SampleAlias[] getSampleAliases() {
|
|
||||||
return sampleAliases;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSampleAliases(SampleAlias[] sampleAliases) {
|
|
||||||
this.sampleAliases = sampleAliases;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
package org.broadinstitute.sting.gatk.datasources.sample;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by IntelliJ IDEA.
|
|
||||||
* User: brett
|
|
||||||
* Date: Aug 13, 2010
|
|
||||||
* Time: 2:09:43 PM
|
|
||||||
*/
|
|
||||||
public class SampleParser {
|
|
||||||
|
|
||||||
private String id;
|
|
||||||
|
|
||||||
private HashMap<String, Object> properties;
|
|
||||||
|
|
||||||
private HashMap<String, String> relationships;
|
|
||||||
|
|
||||||
public String getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(String id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public HashMap<String, Object> getProperties() {
|
|
||||||
return properties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setProperties(HashMap<String, Object> properties) {
|
|
||||||
this.properties = properties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public HashMap<String, String> getRelationships() {
|
|
||||||
return relationships;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRelationships(HashMap<String, String> relationships) {
|
|
||||||
this.relationships = relationships;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue