@Deprecated
public QueryResult<Sample> create(String studyStr, String name, String source, String description, String type, boolean somatic,
Individual individual, Map<String, Object> stats, Map<String, Object> attributes,
QueryOptions options, String sessionId)
throws CatalogException {
Sample sample = new Sample(name, source, individual, null, null, -1, 1, description, type, somatic, Collections.emptyList(),
Collections.emptyList(), attributes).setStats(stats);
return create(studyStr, sample, options, sessionId);
}