User: nterhoeven

gravatar for nterhoeven
nterhoeven110
Reputation:
110
Status:
Trusted
Location:
Last seen:
58 minutes ago
Joined:
4 years, 5 months ago
Email:
n***************@uni-wuerzburg.de

Posts by nterhoeven

<prev • 32 results • page 1 of 4 • next >
3
votes
1
answer
135
views
1
answers
Answer: A: export picture from R studio
... You can export plots from **R** with this: pdf("filename.pdf") plot(myData1) plot(myData2) dev.off() This will create a pdf with two pages showing the two plots. Alternatively, you can use `png()`or `svg()`instead of `pdf()`, if you want a different file format. There are also lot ...
written 4 weeks ago by nterhoeven110 • updated 4 weeks ago by zx87548.4k
0
votes
2
answers
135
views
2
answers
Answer: A: Merge two columns...
... You can do this with `left_join()` from the `tidyverse` package You should rename the `log2FC` columns to different names and then run `left_join(tabelle1,tabelle2)`. This will merge the two data frames by the common column (`genID`). Take a look at https://stat545.com/join-cheatsheet.html for mor ...
written 8 weeks ago by nterhoeven110
2
votes
4
answers
1.1k
views
4
answers
Answer: A: Awk or Shell script in need
... I would use the following `perl` one-liner for this: perl -ane 'BEGIN{$id="";} if($F[0] ne $id){$id=shift(@F); print $id,"\n",join(" ",@F),"\n";}else{shift(@F); print join(" ",@F),"\n";}' filename.txt Explanation: - The file is read line-wise and each line is split at whitespace - The first c ...
written 3.0 years ago by nterhoeven110
0
votes
2
answers
1.8k
views
2
answers
Comment: C: Count repeat sequence
... Or shorter using perl ;-) perl -ne 'print $_=~y/ACT//' or if you want the percentage: perl -ne '$l=length($_);$m=$_=~y/ACT//; print $m/$l*100' ...
written 3.4 years ago by nterhoeven110
0
votes
4
answers
2.8k
views
4
answers
Answer: A: How to concatenate gene sequence?
... This should work for you: cat * | perl -ne 'BEGIN{print ">concat\n"}next if $_=~/^>/; chomp; print $_;' > concat.fa This line concatenates all files in your directory and passes the output to perl. Then perl prints a header line (">concat") and every line (which does not start with "& ...
written 3.9 years ago by nterhoeven110
0
votes
0
answers
918
views
0
answers
Comment: C: How to concatenate multiple blastx output file in a way that all the hits from o
...  I am not very familiar with python. So, I cannot see from the code you posted, how the script reads the input. I would recommend to take a small test dataset (where you know the result) and try the command I posted before. Also, you should take a look at a manual, or ask the author of the script, ...
written 3.9 years ago by nterhoeven110
0
votes
0
answers
918
views
0
answers
Comment: C: How to concatenate multiple blastx output file in a way that all the hits from o
... You should use a scripting language, if you want to ge a more advanced sorting (like hits sorted by score for each query). The command I posted sort alphabetically. ...
written 3.9 years ago by nterhoeven110
0
votes
0
answers
918
views
0
answers
Comment: C: How to concatenate multiple blastx output file in a way that all the hits from o
... You could try something like cat file1 file2 | sort This would first concatenate your files and then sort the lines. This way, you get a "block" for each query. ...
written 3.9 years ago by nterhoeven110
0
votes
1
answer
4.2k
views
1
answers
Comment: C: Error while mapping reads to assembly using bowtie
... you seem to have a problem with your fastq file. You should take a look at it. Especially at the read named in the error message. Try: grep -C 4 'DHKW5DQ1:246:C1D7AACXX:4:1101' ...
written 4.1 years ago by nterhoeven110
0
votes
3
answers
3.4k
views
3
answers
Comment: C: compare and search a list of ids in two text file
... What exactly do you need as output? A list of IDs that occur in both files or similar IDs (matching without the number after the '.')? Do you only need the IDs or do you need the second column too? ...
written 4.2 years ago by nterhoeven110

Latest awards to nterhoeven

Teacher 4 weeks ago, created an answer with at least 3 up-votes. For A: export picture from R studio
Scholar 3.0 years ago, created an answer that has been accepted. For A: Awk or Shell script in need

Help
Access

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