| 1 |
package assemble; |
| 2 |
|
| 3 |
import java.util.ArrayList; |
| 4 |
|
| 5 |
import shared.KillSwitch; |
| 6 |
import stream.ConcurrentReadInputStream; |
| 7 |
import structures.ByteBuilder; |
| 8 |
import structures.LongList; |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
abstract class AbstractBuildThread extends Thread { |
| 16 |
|
| 17 |
public AbstractBuildThread(int id_, int mode_, ConcurrentReadInputStream[] crisa_){ |
| 18 |
id=id_; |
| 19 |
crisa=crisa_; |
| 20 |
mode=mode_; |
| 21 |
} |
| 22 |
|
| 23 |
|
| 24 |
final ConcurrentReadInputStream[] crisa; |
| 25 |
|
| 26 |
final int mode; |
| 27 |
int minCountSeedCurrent; |
| 28 |
|
| 29 |
final int[] leftCounts=KillSwitch.allocInt1D(4); |
| 30 |
final int[] rightCounts=KillSwitch.allocInt1D(4); |
| 31 |
final ByteBuilder builderT=new ByteBuilder(); |
| 32 |
|
| 33 |
|
| 34 |
final LongList insertSizes=new LongList(); |
| 35 |
|
| 36 |
ArrayList<Contig> contigs=new ArrayList<Contig>(); |
| 37 |
|
| 38 |
long readsInT=0; |
| 39 |
long basesInT=0; |
| 40 |
long lowqReadsT=0; |
| 41 |
long lowqBasesT=0; |
| 42 |
final int id; |
| 43 |
|
| 44 |
} |