Skip to content

Commit ff1ce96

Browse files
committed
Read the first word in the id file as seqID, in case sequence description in the file
1 parent 65640f8 commit ff1ce96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/edu/msu/cme/rdp/readseq/utils/SequenceSelector.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public static void main(String[] args) throws IOException {
6565
while ((line = reader.readLine()) != null) {
6666
line = line.trim();
6767
if (!line.equals("")) {
68-
ids.add(line);
68+
String[] val = line.split("\\s+");
69+
ids.add(val[0]);
6970
}
7071
}
7172
reader.close();

0 commit comments

Comments
 (0)