Package net.sf.picard.reference

Examples of net.sf.picard.reference.IndexedFastaSequenceFile


  }

  public static IndexedFastaSequenceFile createIndexedFastaSequenceFile(
      File file) throws RuntimeException, FileNotFoundException {
    if (IndexedFastaSequenceFile.canCreateIndexedFastaReader(file)) {
      IndexedFastaSequenceFile ifsFile = new IndexedFastaSequenceFile(
          file);

      return ifsFile;
    } else
      throw new RuntimeException(
View Full Code Here


        String pathToBamFile = commandLine.getOptionValue("i");
        SAMFileReader reader = new SAMFileReader(new File(pathToBamFile));

        // Init reference
        String  pathToRef = commandLine.getOptionValue("r");
        IndexedFastaSequenceFile refIndex = new IndexedFastaSequenceFile(new File(pathToRef));

        int numberOfProblematicReads = 0;
        int numReads = 0;
        SAMRecordIterator iter = reader.iterator();
View Full Code Here

TOP

Related Classes of net.sf.picard.reference.IndexedFastaSequenceFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.