Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Benchmarking problems relate to problems where efficiency is key, beyond just solving a problem itself. What's the fastest or most efficient way to solve a problem?
2
votes
Accepted
Introducing a fixed number of random substitutions in a sequence
Here's a slightly different approach that should be more efficient. The core of the idea is to have two functions, one which changes a given nucleotide to something other than what it was, and another …
3
votes
Remove/delete sequences by ID from multifasta
Using the FastaToTbl and TblToFasta scripts I have posted before, you can do:
FastaToTbl file.fa | grep -vwf ids.txt | TblToFasta > file.2.fa
1
vote
Accepted
efficient counting of dinucleotides/trinucleotides on fastq reads?
Well, I'm sure you can find a more efficient approach, but here's a simplistic solution using standard UNIX tools:
zcat file.fastq.gz | grep CGC |
awk -F'CGC' 'NR%4==2{a[NF-1]++}END{for(i in a){ …