forked from igvteam/igv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
287 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.iontorrent.data; | ||
|
||
/** | ||
* | ||
* @author Chantal Roth | ||
*/ | ||
public class ReadInfo { | ||
String readname; | ||
int flowposition; | ||
int flowvalue; | ||
char base; | ||
|
||
public ReadInfo(String readname, int flowposition,int flowvalue, char base) { | ||
this.readname = readname; | ||
this.flowposition = flowposition; | ||
this.flowvalue = flowvalue; | ||
this.base = base; | ||
} | ||
public int getFlowPosition() { | ||
return flowposition; | ||
} | ||
public char getBase() { | ||
return base; | ||
} | ||
public String getReadName() { | ||
return readname; | ||
} | ||
public static String getHeader() { | ||
return "Read name, flow position, base, flow value"; | ||
} | ||
public String toCsv() { | ||
StringBuilder b = new StringBuilder(); | ||
b = b.append(readname).append(",").append(flowposition).append(",").append(base).append(",").append(flowvalue); | ||
return b.toString(); | ||
} | ||
public String toString() { | ||
return toCsv(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.