congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
StudyEntry.setFileId
Code IndexAdd Tabnine to your IDE (free)

How to use
setFileId
method
in
org.opencb.biodata.models.variant.StudyEntry

Best Java code snippets using org.opencb.biodata.models.variant.StudyEntry.setFileId (Showing top 4 results out of 315)

origin: org.opencb.biodata/biodata-models

public StudyEntry(String fileId, String studyId) {
  this(studyId, new ArrayList<>(), null);
  if (fileId != null) {
    setFileId(fileId);
  }
}
origin: org.opencb.biodata/biodata-models

/**
 * @deprecated Use {@link #StudyEntry(String, List, List)}
 */
@Deprecated
public StudyEntry(String fileId, String studyId, List<String> secondaryAlternates, List<String> format) {
  this.impl = new org.opencb.biodata.models.variant.avro.StudyEntry(studyId,
      new ArrayList<>(), null, format, new ArrayList<>(), new LinkedHashMap<>(), new ArrayList<>());
  setSecondaryAlternatesAlleles(secondaryAlternates);
  if (fileId != null) {
    setFileId(fileId);
  }
}
origin: org.opencb.biodata/biodata-formats

StudyEntry entry = new StudyEntry(metadata.getId(), secondaryAlternatesMap, Arrays.asList(format.split(":")));
VariantFileMetadata fileMetadata = new VariantFileMetadata(metadata.getFiles().get(0));
entry.setFileId(fileMetadata.getId());
variant.addStudyEntry(entry);
origin: org.opencb.biodata/biodata-tools

/**
 * @param n
 * @return studyEntryList
 */
public List<StudyEntry> getStudies(int n) {
  int studyID = 2;
  int fieldID = 3;
  List<StudyEntry> studyEntryList = new ArrayList<>();
  StudyEntry studyEntry = new StudyEntry();
  studyEntry.setStudyId(Integer.toString(studyID));
  studyEntry.setFileId(Integer.toString(fieldID));
  Map<String, String> attributes = genAttributes();
  studyEntry.setAttributes(attributes);
  studyEntry.setFormat(getFormat());
  List<List<String>> sampleList = new ArrayList<>(getFormat().size());
  for (int i = 0; i < n; i++) {
    sampleList.add(getRandomample());
  }
  studyEntry.setSamplesData(sampleList);
  studyEntryList.add(studyEntry);
  return studyEntryList;
}
org.opencb.biodata.models.variantStudyEntrysetFileId

Popular methods of StudyEntry

  • getSamplesData
  • getFiles
  • <init>
  • getSampleData
  • getFile
  • getStudyId
  • getOrderedSamplesName
  • getSamplesName
  • setFiles
  • setFormat
  • setSamplesData
  • setSamplesPosition
  • setSamplesData,
  • setSamplesPosition,
  • getFormat,
  • getFormatPositions,
  • getStats,
  • setStats,
  • addSampleData,
  • getSamplesPosition,
  • getSecondaryAlternates,
  • setSecondaryAlternates

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now