Editing
Daniel:Notebook/GenomeMiner/2013-7-16
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Daniel:Notebook/GenomeMiner|Back to Calendar]] Looked more into bowtie 2 format today. Converted .txt files from Dr. Zhang which gave the raw sequences for the probes into .fa files using a MATLAB script I wrote. Jeff informed me this is also easy on Python or Perl. I plan on learning one of these (probably Perl) in order to do future endeavors, as it will not always necessarily be as easy to copy around files as I did this time. MATLAB script: function [] = txt_to_fasta(input,set,outputname) file=fopen(input); M=textscan(file,'%s'); nprobe=length(M{1}); outfile=fopen(outputname,'w'); for i=1:nprobe fprintf(outfile,'>Probe_set%i_%i\n',set,i); fprintf(outfile,'%s\n',M{1}{i}); end
Summary:
Please note that all contributions to ZhangLabWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ZhangLabWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Current events
Recent changes
Random page
Investigators
Matt Cai
Song Chen
Eric Chu
Dinh Diep
Elizabeth Duong
Shicheng Guo
Alan Fung
Daniel Jacobsen
Blue Lake
Huy Lam
Alice Li
Andrew Richards
Brandon Sos
Chris Wei
Yan Wu
Kun Zhang
Tools
What links here
Related changes
Special pages
Page information