Mercurial > repos > rhpvorderman > shm_csr
view change_o/select_first_in_clone.r @ 6:ea9d5fc4c001 draft default tip
"planemo upload commit 9ada186a78831ca2618ec817a23a77de6adf1a5d"
| author | rhpvorderman |
|---|---|
| date | Wed, 22 Dec 2021 11:29:16 +0000 |
| parents | 64d74ba01a7c |
| children |
line wrap: on
line source
args <- commandArgs(trailingOnly = TRUE) input.file = args[1] output.file = args[2] print("select_in_first_clone.r") print(input.file) print(output.file) input = read.table(input.file, header=T, sep="\t", fill=T, stringsAsFactors=F, quote="") input = input[!duplicated(input$CLONE),] names(input)[1] = "Sequence.ID" write.table(input, output.file, quote=F, sep="\t", row.names=F, col.names=T, na="")
