Skip to content

Commit

Permalink
v1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hartleys committed Jul 13, 2016
1 parent 4369a0e commit 3fa9585
Show file tree
Hide file tree
Showing 163 changed files with 1,849 additions and 1,096 deletions.
Binary file modified QoRTs-vignette.pdf
Binary file not shown.
Binary file removed QoRTs_1.1.6/QoRTs_1.1.6.tar.gz
Binary file not shown.
Binary file renamed QoRTs_1.1.6.zip → QoRTs_1.1.8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed QoRTs_1.1.6/QoRTs.jar → QoRTs_1.1.8/QoRTs.jar
Binary file not shown.
Binary file not shown.
Binary file added QoRTs_1.1.8/QoRTs_1.1.8.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions QoRTs_1.1.6/README.txt → QoRTs_1.1.8/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# QoRTs v1.1.6
(Compiled Tue Jun 14 15:00:02 EDT 2016)
# QoRTs v1.1.8
(Compiled Wed Jul 13 13:35:00 EDT 2016)

The [QoRTs software package](http://hartleys.github.io/QoRTs/) is a fast, efficient, and portable
multifunction toolkit designed to assist in
Expand Down
Binary file not shown.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# QoRTs v1.1.6
(Compiled Tue Jun 14 15:00:02 EDT 2016)
# QoRTs v1.1.8
(Compiled Wed Jul 13 13:35:00 EDT 2016)

The [QoRTs software package](http://hartleys.github.io/QoRTs/) is a fast, efficient, and portable
multifunction toolkit designed to assist in
Expand Down
2,262 changes: 1,245 additions & 1,017 deletions src/HartleyUtils/.cache

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/.worksheet/bin/internalTests/testing$.class
Binary file not shown.
33 changes: 22 additions & 11 deletions src/HartleyUtils/.worksheet/src/internalTests.testing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ import net.sf.samtools._

object testing {;import org.scalaide.worksheet.runtime.library.WorksheetSupport._; def main(args: Array[String])=$execute{;$skip(109);
println("Welcome to the Scala worksheet");$skip(25); val res$0 =
"Hello".substring(0,2);System.out.println("""res0: String = """ + $show(res$0));$skip(26); val res$1 =
"Hello".substring(0,2);System.out.println("""res0: String = """ + $show(res$0));$skip(23); val res$1 =
"Hello".substring(1);System.out.println("""res1: String = """ + $show(res$1));$skip(27); val res$2 =

scala.math.log(10.0);System.out.println("""res1: Double = """ + $show(res$1));$skip(235); val res$2 =
scala.math.log(10.0);System.out.println("""res2: Double = """ + $show(res$2));$skip(235); val res$3 =

//val reader = new SAMFileReader(new java.io.File("C:\\Users\\hartleys\\work\\nihwork\\home_copy\\projects\\ZZZ-ExampleDataset\\TestSets\\readLength50\\inputData\\fastq\\SAMP1_RG1.50bp.1.fq.gz"));

"Hello+World".split("\\+");System.out.println("""res2: Array[String] = """ + $show(res$2));$skip(26); val res$3 =
"Hello+World".split("\\+");System.out.println("""res3: Array[String] = """ + $show(res$3));$skip(26); val res$4 =

Range(0,10).toVector;System.out.println("""res3: Vector[Int] = """ + $show(res$3));$skip(23); val res$4 =
Range(0,10).toVector;System.out.println("""res4: Vector[Int] = """ + $show(res$4));$skip(23); val res$5 =

Vector("hi").tail;System.out.println("""res4: scala.collection.immutable.Vector[String] = """ + $show(res$4));$skip(32); val res$5 =
Vector("hi").tail;System.out.println("""res5: scala.collection.immutable.Vector[String] = """ + $show(res$5));$skip(32); val res$6 =

scala.math.log(0).isInfinite;System.out.println("""res5: Boolean = """ + $show(res$5));$skip(82);
scala.math.log(0).isInfinite;System.out.println("""res6: Boolean = """ + $show(res$6));$skip(54);

val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\";";System.out.println("""splitstr : String = """ + $show(splitstr ));$skip(58); val res$6 =


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)");System.out.println("""res6: Array[String] = """ + $show(res$6));$skip(53);

print(Vector("Hello","World","How","Are","You"));$skip(20); ;
print(Some("Hi"));$skip(123);
Expand Down Expand Up @@ -117,7 +114,21 @@ System.getProperty("sun.arch.data.model");System.out.println("""res17: String =
X.toDouble / Y.toDouble;System.out.println("""res24: Double = """ + $show(res$24));$skip(38); val res$25 =


Seq(1,2,3,4,5).filter(_ < 3);System.out.println("""res25: Seq[Int] = """ + $show(res$25))}
Seq(1,2,3,4,5).filter(_ < 3);System.out.println("""res25: Seq[Int] = """ + $show(res$25));$skip(117);


val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\"; Gene = \"Say \\\"Hello\\\"\";";System.out.println("""splitstr : String = """ + $show(splitstr ));$skip(60); val res$26 =

internalUtils.stdUtils.splitRespectQuote(splitstr,";");System.out.println("""res26: Array[String] = """ + $show(res$26));$skip(107);


internalUtils.stdUtils.parseTokens(splitstr,';').toList.foreach((s : String) => println("'"+s+"'"));$skip(109);


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)").toList.foreach((s : String) => println("'"+s+"'"))}





}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/fileConversionUtils/addNovelSplices$.class
Binary file not shown.
47 changes: 34 additions & 13 deletions src/HartleyUtils/bin/internalTests/testing.sc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,20 @@ import net.sf.samtools._
object testing {
println("Welcome to the Scala worksheet") //> Welcome to the Scala worksheet
"Hello".substring(0,2) //> res0: String = He
"Hello".substring(1) //> res1: String = ello

scala.math.log(10.0) //> res1: Double = 2.302585092994046
scala.math.log(10.0) //> res2: Double = 2.302585092994046

//val reader = new SAMFileReader(new java.io.File("C:\\Users\\hartleys\\work\\nihwork\\home_copy\\projects\\ZZZ-ExampleDataset\\TestSets\\readLength50\\inputData\\fastq\\SAMP1_RG1.50bp.1.fq.gz"));

"Hello+World".split("\\+") //> res2: Array[String] = Array(Hello, World)
"Hello+World".split("\\+") //> res3: Array[String] = Array(Hello, World)

Range(0,10).toVector //> res3: Vector[Int] = Vector(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Range(0,10).toVector //> res4: Vector[Int] = Vector(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)

Vector("hi").tail //> res4: scala.collection.immutable.Vector[String] = Vector()
Vector("hi").tail //> res5: scala.collection.immutable.Vector[String] = Vector()

scala.math.log(0).isInfinite //> res5: Boolean = true
scala.math.log(0).isInfinite //> res6: Boolean = true

val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\";"
//> splitstr : String = Gene = "HRG10;2"; TX = "Blah"; exon = 1; variant = "3";
//|


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)")
//> res6: Array[String] = Array(Gene = "HRG10;2", " TX = "Blah"", " exon = 1", "
//| variant = "3"")

print(Vector("Hello","World","How","Are","You"));
//> Vector(Hello, World, How, Are, You)
Expand Down Expand Up @@ -134,4 +127,32 @@ System.getProperty("sun.arch.data.model") //> res17: String = 64
Seq(1,2,3,4,5).filter(_ < 3) //> res25: Seq[Int] = List(1, 2)


val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\"; Gene = \"Say \\\"Hello\\\"\";"
//> splitstr : String = Gene = "HRG10;2"; TX = "Blah"; exon = 1; variant = "3"
//| ; Gene = "Say \"Hello\"";

internalUtils.stdUtils.splitRespectQuote(splitstr,";")
//> res26: Array[String] = Array(Gene = "HRG10;2", " TX = "Blah"", " exon = 1",
//| " variant = "3"", " Gene = "Say \"Hello\""")


internalUtils.stdUtils.parseTokens(splitstr,';').toList.foreach((s : String) => println("'"+s+"'"))
//> 'Gene = "HRG10;2"'
//| ' TX = "Blah"'
//| ' exon = 1'
//| ' variant = "3"'
//| ' Gene = "Say \"Hello\""'


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)").toList.foreach((s : String) => println("'"+s+"'"))
//> 'Gene = "HRG10;2"'
//| ' TX = "Blah"'
//| ' exon = 1'
//| ' variant = "3"'
//| ' Gene = "Say \"Hello\""'





}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/HartleyUtils/bin/internalUtils/VcfTool$.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/HartleyUtils/bin/internalUtils/VcfTool.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anon$1.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anon$2.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anon$3.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anon$5.class
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anonfun$1.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anonfun$2.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anonfun$5.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$$anonfun$6.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$MemoryUtil$.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$TimeStampUtil$.class
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils$TimeStampUtil.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/HartleyUtils/bin/internalUtils/stdUtils.class
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ object addNovelSplices {
val idCol = decoderTitleLine.indexOf("sample.ID");
val sfCol = decoderTitleLine.indexOf("size.factor");

if(idCol == -1){
reportln("WARNING WARNING WARNING: no column found with title 'sample.ID' in the size factor / decoder file. The size factor / decoder file must contain a column titled 'sample.ID'. Fatal errors will almost certainly follow.","warn");
}

val sampleSF : Seq[(String,Double)] = if(sfCol == -1){
reportln("decoderTitleLine: "+decoderTitleLine,"debug");
reportln("idCol: "+idCol,"debug");
Expand Down
47 changes: 34 additions & 13 deletions src/HartleyUtils/src/main/scala/internalTests/testing.sc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,20 @@ import net.sf.samtools._
object testing {
println("Welcome to the Scala worksheet") //> Welcome to the Scala worksheet
"Hello".substring(0,2) //> res0: String = He
"Hello".substring(1) //> res1: String = ello

scala.math.log(10.0) //> res1: Double = 2.302585092994046
scala.math.log(10.0) //> res2: Double = 2.302585092994046

//val reader = new SAMFileReader(new java.io.File("C:\\Users\\hartleys\\work\\nihwork\\home_copy\\projects\\ZZZ-ExampleDataset\\TestSets\\readLength50\\inputData\\fastq\\SAMP1_RG1.50bp.1.fq.gz"));

"Hello+World".split("\\+") //> res2: Array[String] = Array(Hello, World)
"Hello+World".split("\\+") //> res3: Array[String] = Array(Hello, World)

Range(0,10).toVector //> res3: Vector[Int] = Vector(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Range(0,10).toVector //> res4: Vector[Int] = Vector(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)

Vector("hi").tail //> res4: scala.collection.immutable.Vector[String] = Vector()
Vector("hi").tail //> res5: scala.collection.immutable.Vector[String] = Vector()

scala.math.log(0).isInfinite //> res5: Boolean = true
scala.math.log(0).isInfinite //> res6: Boolean = true

val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\";"
//> splitstr : String = Gene = "HRG10;2"; TX = "Blah"; exon = 1; variant = "3";
//|


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)")
//> res6: Array[String] = Array(Gene = "HRG10;2", " TX = "Blah"", " exon = 1", "
//| variant = "3"")

print(Vector("Hello","World","How","Are","You"));
//> Vector(Hello, World, How, Are, You)
Expand Down Expand Up @@ -134,4 +127,32 @@ System.getProperty("sun.arch.data.model") //> res17: String = 64
Seq(1,2,3,4,5).filter(_ < 3) //> res25: Seq[Int] = List(1, 2)


val splitstr = "Gene = \"HRG10;2\"; TX = \"Blah\"; exon = 1; variant = \"3\"; Gene = \"Say \\\"Hello\\\"\";"
//> splitstr : String = Gene = "HRG10;2"; TX = "Blah"; exon = 1; variant = "3"
//| ; Gene = "Say \"Hello\"";

internalUtils.stdUtils.splitRespectQuote(splitstr,";")
//> res26: Array[String] = Array(Gene = "HRG10;2", " TX = "Blah"", " exon = 1",
//| " variant = "3"", " Gene = "Say \"Hello\""")


internalUtils.stdUtils.parseTokens(splitstr,';').toList.foreach((s : String) => println("'"+s+"'"))
//> 'Gene = "HRG10;2"'
//| ' TX = "Blah"'
//| ' exon = 1'
//| ' variant = "3"'
//| ' Gene = "Say \"Hello\""'


splitstr.split(";(?=([^\"]*\"[^\"]*\")*[^\"]*$)").toList.foreach((s : String) => println("'"+s+"'"))
//> 'Gene = "HRG10;2"'
//| ' TX = "Blah"'
//| ' exon = 1'
//| ' variant = "3"'
//| ' Gene = "Say \"Hello\""'





}
Loading

0 comments on commit 3fa9585

Please sign in to comment.