class FileInputs extends AnyRef
A set of input files that can be parsed into minimizer.InputFragment
- Alphabetic
- By Inheritance
- FileInputs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FileInputs(files: Seq[String], k: Int, inputGrouping: InputGrouping = Ungrouped)(implicit spark: SparkSession)
- files
files to read. A name of the format @list.txt will be parsed as a list of files.
- k
length of k-mers
- inputGrouping
whether input files are paired-end reads. If so, they are expected to appear in sequence, so that the first file is a _1, the second a _2, the third a _1, etc.
- spark
the SparkSession
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
val
conf: Configuration
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val files: Seq[String]
-
def
forFile(file: String): InputReader
By looking at the file name and checking for the presence of a .fai file in the case of fasta, obtain an appropriate InputReader for a single file.
-
def
forPair(file: String, file2: String): PairedInputReader
By looking at the file name and checking for the presence of a .fai file in the case of fasta, obtain an appropriate InputReader for a single file.
By looking at the file name and checking for the presence of a .fai file in the case of fasta, obtain an appropriate InputReader for a single file. Read the files as paired-end reads if the second file was supplied.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getInputFragments(withAmbiguous: Boolean = false, sampleFraction: Option[Double] = None): Dataset[InputFragment]
Parse all files in this set as InputFragments
Parse all files in this set as InputFragments
- withAmbiguous
whether to include ambiguous nucleotides. If not, the inputs will be split and only valid nucleotides retained.
- sampleFraction
the fraction to sample, if any.
-
def
getSequenceTitles: Dataset[SeqTitle]
All sequence titles contained in this set of input files
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withK(newK: Int): FileInputs
Clone this Inputs with a different value of k.
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated