Skip to content

Commit 1055a0d

Browse files
committed
[fix] hotfix, loading fasta
1 parent a8f2195 commit 1055a0d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/progistar/pXg/data/parser/ParameterParser.java

+10
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,16 @@ public static int parseParams (String[] args) {
542542
Parameters.readSize = Integer.parseInt(cmd.getOptionValue("bps"));
543543
}
544544

545+
// --bam_partition_size
546+
if(cmd.hasOption("f")) {
547+
Parameters.proteinFastaPath = cmd.getOptionValue("f");
548+
if(!isExist(Parameters.proteinFastaPath)) {
549+
printNoSuchFileOrDirectory(Parameters.proteinFastaPath);
550+
isFail = true;
551+
}
552+
}
553+
554+
545555
// --threads
546556
if(cmd.hasOption("t")) {
547557
Parameters.nThreads = Integer.parseInt(cmd.getOptionValue("t"));

0 commit comments

Comments
 (0)