User: ole.tange

gravatar for ole.tange
ole.tange3.9k
Reputation:
3,900
Status:
Trusted
Location:
Denmark
Last seen:
2 weeks, 1 day ago
Joined:
8 years, 1 month ago
Email:
b***********@tange.dk

about me

Posts by ole.tange

<prev • 97 results • page 1 of 10 • next >
3
votes
2
answers
142
views
2
answers
Answer: A: Is there anyway to get a unix parallel command to write to standard output
... @Pierre's and @Wouter's solutions should work for you. The problem is that this: parallel bcftools stats chr{}.bcf | grep "number of records:" | cut -f 4 > chr{}.txt ::: {1..22} is interpreted as this: parallel bcftools stats chr{}.bcf | grep "number of records:" | cut -f ...
written 17 days ago by ole.tange3.9k
3
votes
2
answers
296
views
2
answers
Answer: A: GNU parallel command with several multiple arguments
... parallel --plus "command -t {1} {2} {3} > {1}_{2/..}.out " ::: 4 8 ::: File1 File3 :::+ File2 File4 ...
written 3 months ago by ole.tange3.9k
0
votes
2
answers
2.5k
views
2
answers
Comment: C: Bulk download of entire BioProject SRA
... No need for `wait`. GNU Parallel does that for you. ...
written 3 months ago by ole.tange3.9k
2
votes
1
answer
191
views
1
answers
Answer: A: How to set sleep in GNU parallel in a esearch/efetch script
... Something like this: IDLIST=IDLIST mysearch() { query="$1" IFS=$'\n' for hit in $(esearch -db sra -query "$query" | efetch --format runinfo | grep SRR); do echo "$query,${hit}" done } ...
written 4 months ago by ole.tange3.9k
1
vote
3
answers
329
views
3
answers
Answer: A: How do I use bash loop to map with Salmon on files in multiple folders
... Make a function that takes a dir and the base filename as argument: doit() { dir="$1" f="$2" cd "$dir" echo "Processing sample $f" salmon quant -i gencode.v33.transcripts.index -l A -1 ${f}_1.fq.gz -2 ${f}_2.fq.gz -p 6 --gcBias --validateMappings -o quants/${f}_qua ...
written 4 months ago by ole.tange3.9k
0
votes
6
answers
637
views
6
answers
Comment: C: How to rename multiple fastq files
... parallel --dry-run mv {} '{=s/GEN\d+_N_(\w+)_lib\d+_\d+_(\d+_R\d)/$1_$2/=}' ::: *.fastq ...
written 9 months ago by ole.tange3.9k
0
votes
8
answers
121k
views
8
answers
Answer: A: Gnu Parallel - Parallelize Serial Command Line Programs Without Changing Them
... **EXAMPLE: Call program with FASTA sequence** FASTA files have the format: ...
written 13 months ago by ole.tange3.9k
7
votes
2
answers
493
views
2
answers
Answer: A: Calculating Shannon entropy for RNA sequences in multi-fasta using rnaentropy
... With GNU Parallel (https://www.biostars.org/p/63816/) you would do: cat in.fasta | parallel --pipe -N1 --recstart '>' --rrs 'read a; echo Doing "$a"; ./RNAentropy -s $(tr -d "\n")' From [GNU Parallel Tutorial: Informational](https://www.gnu.org/software/parallel/parallel_tutoria ...
written 13 months ago by ole.tange3.9k • updated 13 months ago by zx87549.7k
1
vote
2
answers
1.2k
views
2
answers
Answer: A: bwa mem: fail to locate the index files
... GNU Parallel does not run its jobs in the same shell session as it is started. That means that non-exported variables and non-exported functions cannot be seen. However, `env_parallel` can make a copy of the environment in the current session and pass that to GNU Parallel. By using `env_parallel -- ...
written 16 months ago by ole.tange3.9k
3
votes
1
answer
737
views
1
answers
Answer: A: using GNU parallel for bwa mem and samtools
... It makes it easier to read and to test if you create a function and call that. You can then test your function on a single file set before handing it to GNU Parallel: bwatosam() { id="$1" bwa mem -t 10 -M -R "@RG\tID:{}\tSM:{}\tPL:ILLUMINA\tLB:{}" hg1kv37.fa "$id"_R1.fq.gz "$i ...
written 16 months ago by ole.tange3.9k

Latest awards to ole.tange

Teacher 17 days ago, created an answer with at least 3 up-votes. For A: Job Manager to parallelize otherwise consecutive bash scripts..?
Popular Question 3 months ago, created a question with more than 1,000 views. For Got Multiple Cpus? Activate Them With Gnu Parallel
Teacher 3 months ago, created an answer with at least 3 up-votes. For A: Job Manager to parallelize otherwise consecutive bash scripts..?
Scholar 3 months ago, created an answer that has been accepted. For A: Job Manager to parallelize otherwise consecutive bash scripts..?
Great Question 4 months ago, created a question with more than 5,000 views. For Got Multiple Cpus? Activate Them With Gnu Parallel
Scholar 4 months ago, created an answer that has been accepted. For A: Job Manager to parallelize otherwise consecutive bash scripts..?
Great Question 8 months ago, created a question with more than 5,000 views. For Got Multiple Cpus? Activate Them With Gnu Parallel
Appreciated 12 months ago, created a post with more than 5 votes. For A: Gnu Parallel Quoting With Awk
Good Answer 12 months ago, created an answer that was upvoted at least 5 times. For A: Gnu Parallel Quoting With Awk
Teacher 13 months ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Appreciated 13 months ago, created a post with more than 5 votes. For A: Gnu Parallel Quoting With Awk
Teacher 16 months ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Scholar 16 months ago, created an answer that has been accepted. For A: What is the correct way to use GNU parallel with Primer3?
Commentator 17 months ago, created a comment with at least 3 up-votes. For C: Gnu Parallel - Parallelize Serial Command Line Programs Without Changing Them
Good Answer 18 months ago, created an answer that was upvoted at least 5 times. For A: Gnu Parallel Quoting With Awk
Appreciated 18 months ago, created a post with more than 5 votes. For A: Gnu Parallel Quoting With Awk
Teacher 21 months ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Appreciated 2.1 years ago, created a post with more than 5 votes. For A: Gnu Parallel Quoting With Awk
Appreciated 2.5 years ago, created a post with more than 5 votes. For A: Gnu Parallel Quoting With Awk
Teacher 2.5 years ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Teacher 2.8 years ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Voter 3.5 years ago, voted more than 100 times.
Teacher 3.8 years ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Teacher 4.9 years ago, created an answer with at least 3 up-votes. For A: What is the correct way to use GNU parallel with Primer3?
Scholar 4.9 years ago, created an answer that has been accepted. For A: What is the correct way to use GNU parallel with Primer3?

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1210 users visited in the last hour