User: shoujun.gu

gravatar for shoujun.gu
shoujun.gu270
Reputation:
270
Status:
Trusted
Location:
Rockville/MD
Last seen:
11 hours ago
Joined:
7 months, 2 weeks ago
Email:
s*********@gmail.com

Posts by shoujun.gu

<prev • 48 results • page 1 of 5 • next >
1
vote
2
answers
177
views
2
answers
Comment: C: How to download REVIGO TreeMap as Image? Also need help for Python script
... 1. Since I'm not familiar with this software, I have no idea what the address is. Maybe it's hide in a javascript code. etc. But since it can be downloaded, you may download it and use open().read() as the code comment suggested. 2. file extension is just a label. If it's csv, then replace txt with ...
written 1 day ago by shoujun.gu270
0
votes
2
answers
177
views
2
answers
Answer: A: How to download REVIGO TreeMap as Image? Also need help for Python script
... 1. I am not familiar with this specific software. So no comments on this question. 2. code: os.path.join(url, 'examples', 'example1.txt') will return a string: http://revigo.irb.hr/examples/example1.txt So get the address of your online file and replace 'examples' and 'example1.txt' ac ...
written 1 day ago by shoujun.gu270
2
votes
0
answers
157
views
0
answers
Comment: A: How to prepare Genomic data(Genbank, Fasta) for machine learning
... Your question is way too broad. At least, you should know 1. what do you want to predict? 2. what are the related features? 3. How can you quantify these features? It's all case dependent. ...
written 22 days ago by shoujun.gu270
0
votes
2
answers
207
views
2
answers
Answer: A: parse nxml file from pubmed
... have you tried xtract? https://dataguide.nlm.nih.gov/edirect/xtract.html ...
written 5 weeks ago by shoujun.gu270
0
votes
2
answers
300
views
2
answers
Comment: C: Python Script for extracting out Query and Alignment sequence from an all_v_all
... I corrected some errors in the previous coding. But: your posted example is not well formatted. I tried to sep the line with tab, it doesn't work. If it's due to copy/paste problem, you could try my updated code to see whether it works for your real file. Besides, if your file is clean, use awk a ...
written 7 weeks ago by shoujun.gu270
0
votes
2
answers
300
views
2
answers
Comment: C: Python Script for extracting out Query and Alignment sequence from an all_v_all
... then there must be something wrong with the file parse, could you paste some lines of your input file? since I don't see any tabs in your posted example: Dictyostelium_gi | 550558531 | gb | Dictyostelium_gi | 550558531 |gb YKLADEQWSTTILLIMCQE.. ...
written 7 weeks ago by shoujun.gu270
0
votes
2
answers
300
views
2
answers
Comment: C: Python Script for extracting out Query and Alignment sequence from an all_v_all
... try add : print(output) in the code, to see whether this list is empty. ...
written 7 weeks ago by shoujun.gu270
0
votes
2
answers
300
views
2
answers
Comment: C: Python Script for extracting out Query and Alignment sequence from an all_v_all
... There are some problems in your original code Try my posted code instead to see whether it works or not. ...
written 7 weeks ago by shoujun.gu270
0
votes
2
answers
300
views
2
answers
Comment: C: Python Script for extracting out Query and Alignment sequence from an all_v_all
... also you have to double check the return of: line = line.split('\t') sometime it will contain an empty element '' at the beginning. Thus, you need to adjust the list index accordingly. ...
written 7 weeks ago by shoujun.gu270
1
vote
2
answers
300
views
2
answers
Answer: A: Python Script for extracting out Query and Alignment sequence from an all_v_all
... Try something like this: output=[] with open('Your_file', 'r') as f: for line in f: line = line.split('\t') query_id = line[0] subject_id = line [1] alignment = line [2] if query_id == subject_id: output. ...
written 7 weeks ago by shoujun.gu270

Latest awards to shoujun.gu

Scholar 9 weeks ago, created an answer that has been accepted. For A: Kallisto run error
Teacher 9 weeks ago, created an answer with at least 3 up-votes. For A: Remove gap from files
Teacher 9 weeks ago, created an answer with at least 3 up-votes. For A: Remove gap from files
Scholar 9 weeks ago, created an answer that has been accepted. For A: Kallisto run error
Scholar 10 weeks ago, created an answer that has been accepted. For A: Kallisto run error
Scholar 11 weeks ago, created an answer that has been accepted. For A: Kallisto run error
Scholar 3 months ago, created an answer that has been accepted. For A: Kallisto run error

Help
Access

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