Skip to content
Snippets Groups Projects
Unverified Commit df87f670 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

intersect_SNP.R: sort results by AF

parent 7bf6ea38
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ snp <- snp_b %>%
filter(cords %in% only_b)
fastafile <- read.fasta(file = args[3],
as.string = TRUE)
as.string = TRUE)
snp$seq_list <- snp %>%
apply(1, FUN = function(x, fastafile, POS, CHROM){
......@@ -38,5 +38,6 @@ snp$seq_list <- snp %>%
)
snp %>%
arrange(desc(tumor_sample.AF)) %>%
write_csv(paste0("only_", args[2]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment