diff --git a/cmd/extractmutations.go b/cmd/extractmutations.go index 278e628..61876bd 100644 --- a/cmd/extractmutations.go +++ b/cmd/extractmutations.go @@ -93,8 +93,11 @@ var mutationsCmd = &cobra.Command{ } defer closeWriteFile(f, outfile) - fmt.Fprintf(f, "Tree ID\tSite\tBranch ID\tNode Name\tParent Character\tChild Character\tTotal tips\tSame Character Tips\n") - + if mutationseems { + fmt.Fprintf(f, "Tree ID\tSite\tParent Character\tChild Character\tNb EEMs\n") + } else { + fmt.Fprintf(f, "Tree ID\tSite\tBranch ID\tNode Name\tParent Character\tChild Character\tTotal tips\tSame Character Tips\n") + } for t := range treechan { if mutationseems { if muts, err = mutations.CountEEMs(t.Tree, align); err != nil { diff --git a/test.sh b/test.sh index 7c872cf..807d21c 100755 --- a/test.sh +++ b/test.sh @@ -678,7 +678,7 @@ cat > input_tree < expected <