Skip to content

Commit 9ea0885

Browse files
committed
added interleaved nexus output
1 parent 6510faa commit 9ea0885

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

supercrunch-scripts/Concatenation.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def get_args():
4949
(no duplicate names) or an error will be thrown. If a taxon is absent
5050
from an alignment, a missing sequence is generated using the symbol
5151
selected with the -s flag (can be an N, dash, or ?). The output format
52-
must be specified as fasta or phylip using the --outformat flag.
52+
must be specified using the --outformat flag, and includes fasta, phylip,
53+
nexus, and interleaved nexus. For interleaved nexus, the --seqwrap flag can be
54+
used to set the number of bp characters per line, otherwise the default is 100 bases.
5355
5456
Output files are written to the specified output directory (-o).
5557
@@ -85,11 +87,11 @@ def get_args():
8587

8688
parser.add_argument("--seqwrap",
8789
required=False,
88-
default="1000",
90+
default="100",
8991
type=int,
9092
help="OPTIONAL: For use with interleaved_nexus format option. "
9193
"The number of bp characters to include per line before "
92-
"splitting to an additional line.")
94+
"splitting to an additional line. Default = 100.")
9395

9496
return parser.parse_args()
9597

0 commit comments

Comments
 (0)