Object

nl.biopet.utils

IoUtils

Related Doc: package utils

Permalink

object IoUtils

This object contains generic io methods

Created by pjvan_thof on 6/4/15.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IoUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyDir(inputDir: File, externalDir: File): Unit

    Permalink
  7. def copyFile(in: File, out: File, createDirs: Boolean = false): Unit

    Permalink
  8. def copyStreamToFile(in: InputStream, out: File, createDirs: Boolean = false): Unit

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def executableExist(exe: String): Boolean

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getLinesFromFile(file: File): List[String]

    Permalink

    This return the contends of a file as a List[String]

  15. def getUncompressedFileName(f: File, exts: Set[String] = zipExtensions): String

    Permalink

    Given a file object and a set of compression extensions, return the filename without any of the compression extensions.

    Given a file object and a set of compression extensions, return the filename without any of the compression extensions.

    Examples:

    • my_file.fq.gz returns "my_file.fq"
    • my_other_file.fastq returns "my_file.fastq"
    f

    Input file object.

    exts

    Possible compression extensions to trim.

    returns

    Filename without compression extension.

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def writeLinesToFile(output: File, lines: List[String]): Unit

    Permalink
  27. val zipExtensions: Set[String]

    Permalink

    Possible compression extensions to trim from input files.

Inherited from AnyRef

Inherited from Any

Ungrouped