We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtasks?
We have an existing way of interrogating from shell (https://sequenceserver.com/doc/api/).
And an R example online: https://sequenceserver.com/blog/disentangling-homology-orthology-parology-and-similarity-with-BLAST
Here is some R code for getting the
# Loading data blast_results_file_tsv = "sequenceserver-full_tsv_report.tsv" # although https example is better! blast_results <- read.delim(blast_results_file_tsv, header = FALSE, comment.char = "#") blast_results_header <- grep(pattern = "# Fields:", x = readLines(con = blast_results_file_tsv, n = 10), value = TRUE)[1] blast_results_header <- sub(pattern = "# Fields: ", replacement = "", x = blast_results_header) blast_results_colnames <- unlist(strsplit(x = blast_results_header, split = ", ")) blast_results_colnames <- gsub(pattern = " ", replacement = "_", x = blast_results_colnames) colnames(blast_results) <- blast_results_colnames # Example of pulling out top hit for each query library(dplyr) top_hits <- blast_results %>% arrange(query_id, desc(bit_score)) %>% group_by(query_id) %>% slice_head(n = 1) %>% arrange(desc(bit_score))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Subtasks?
We have an existing way of interrogating from shell (https://sequenceserver.com/doc/api/).
And an R example online: https://sequenceserver.com/blog/disentangling-homology-orthology-parology-and-similarity-with-BLAST
Here is some R code for getting the
The text was updated successfully, but these errors were encountered: