Skip to content

Commit f80d9ff

Browse files
committed
#37 - accept .gz files as batch input
1 parent 0f07b8d commit f80d9ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/leb/main/EzAAI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class EzAAI {
3737
+ " Introducing EzAAI: a pipeline for high throughput calculations of prokaryotic average amino acid identity.\n"
3838
+ " J Microbiol. 59, 476–480 (2021).\n"
3939
+ " DOI: 10.1007/s12275-021-1154-0";
40-
public static final boolean STABLE = true;
40+
public static final boolean STABLE = false;
4141

4242
final static int MODULE_CONVERT = 1,
4343
MODULE_EXTRACT = 2,
@@ -526,7 +526,7 @@ public Integer call() {
526526
// list files in input directory
527527
ArrayList<String> files = new ArrayList<>();
528528
for(String file : Objects.requireNonNull(inputDir.list())) {
529-
if(file.endsWith(".fa") || file.endsWith(".fna") || file.endsWith(".fasta")) {
529+
if(file.endsWith(".fa") || file.endsWith(".fna") || file.endsWith(".fasta") || file.endsWith(".fa.gz") || file.endsWith(".fna.gz") || file.endsWith(".fasta.gz")) {
530530
files.add(inputDir.getAbsolutePath() + File.separator + file);
531531
}
532532
}

0 commit comments

Comments
 (0)