Skip to content

Commit

Permalink
user output for R script
Browse files Browse the repository at this point in the history
really it's for debugging....
  • Loading branch information
roblanf committed Aug 17, 2020
1 parent 52d0a13 commit a42b42a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/clean_tree.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#!/usr/bin/env Rscript

# usage: Rscript clean_tree.R input_tree input_alignment
# usage: Rscript clean_tree.R input_tree names_of_species_in_alignment.txt
# the names file should be one name per line

args = commandArgs(trailingOnly=TRUE)

library(ape)
library(readr)

print("Input tree")
print(t)
print("input names")
print(a)


t = read.tree(args[1])
a = scan(args[2])
Expand Down

0 comments on commit a42b42a

Please sign in to comment.