package genediagram;

public class Gene {
    
    public Gene (String[] details) {
        name = details[0];
        category = details[1];
        direction = (details[2].equals("+")) ? true : false;
        start = Integer.parseInt(details[3]);
        stop = Integer.parseInt(details[4]);
    }
    
    String name;
    String category;
    boolean direction;
    int start;
    int stop; 
}

Create Gene.java