User: mobiusklein

gravatar for mobiusklein
mobiusklein160
Reputation:
160
Status:
Trusted
Location:
United States
Last seen:
6 months, 4 weeks ago
Joined:
5 years, 9 months ago
Email:
m**********@gmail.com

about me

Posts by mobiusklein

<prev • 16 results • page 1 of 2 • next >
0
votes
1
answer
905
views
1
answers
Comment: C: Writing Genbank files
... The entity denoted `self` in the code being debugged here was an instance of a class OP's created. I don't think it is 1:1 with `SeqRecord`. If you're trying to write a `SeqRecord` in GenBank format, I think you'd just pass your `SeqRecord` through `SeqIO.write(records, handle, "genbank")`. I'm not ...
written 6 months ago by mobiusklein160
0
votes
3
answers
336
views
3
answers
Answer: A: Is there no way to bypass the Windows requirement for working with Thermo RAW fi
... Thermo has released a new version of their RAW file reader written for `.NET` [http://planetorbitrap.com/rawfilereader#.W9R8oZNKiUk][1]. This is only a library, so you'll need to use a tool written on top of it like [https://github.com/compomics/ThermoRawFileParser][2] in order to convert a RAW file ...
written 6 months ago by mobiusklein160
0
votes
1
answer
366
views
1
answers
Answer: A: How to merge mgf files?
... If none of the MGF files have parameters set at the top of the file, merging MGF files is as simple as concatenating two text files. #!/usr/bin/python with open("output.mgf", 'w') as fh: fh.write(open("a.mgf", 'r').read()) fh.write("\n") fh.write(open("b.mgf", 'r').read ...
written 9 months ago by mobiusklein160
1
vote
0
answers
587
views
0
answers
Comment: C: mass spectrometry and bioinformatics
... `pyteomics` will give you access to the information about each spectrum, though it might be difficult to access the total number of spectra acquired directly. Of course, `sum(1 for scan in mzml.read("path/to/file.mzML"))` will work for that. The unassigned question could be solved using the `mzid`, ...
written 16 months ago by mobiusklein160
0
votes
1
answer
478
views
1
answers
Answer: A: proteomics and mass spectrometry
... The total number of scans should be listed in the `count` attribute of the `` element of an mzML file. A shell approach to finding this is to run `grep " ...
written 16 months ago by mobiusklein160
3
votes
1
answer
441
views
1
answers
Answer: A: Retrieve qualifiers plasmid and pathovar
... If you would like your script to run to completion even when that information is not present, you can wrap each access to `seq_feature.qualifiers` in a `try-except` block catching `KeyError` and `IndexError`: import sys from Bio import SeqIO from Bio import GenBank input_file ...
written 17 months ago by mobiusklein160
0
votes
0
answers
465
views
0
answers
Comment: C: Plotting contig length after a MIRA run / iteration
... Have you tried running the program without `plt.show` or `plt.pause`? Both of these functions may cause the program to block until some GUI action is taken. Similarly, have you checked that the conditions in the while loop are not satisfied? ...
written 18 months ago by mobiusklein160
0
votes
0
answers
2.1k
views
0
answers
Comment: C: How do I go from UniProt ID to retrieving the gene name?
... The code I posted [here][1] could solve your problem as well, once you add the necessary input and output logic you're looking for. [1]: https://www.biostars.org/p/283313/#283337 ...
written 18 months ago by mobiusklein160
2
votes
2
answers
834
views
2
answers
Answer: A: UniProt references to SwissProt references?
... Uniprot's HTTP API is very accommodating about translating identifiers. Requesting `http://www.uniprot.org/uniprot/SYDND_PSEFS` will be redirected to `http://www.uniprot.org/uniprot/C3JYT1`. If you're comfortable with Python, you could use the following approach: from lxml import etree ...
written 18 months ago by mobiusklein160
5
votes
1
answer
905
views
1
answers
Answer: A: Writing Genbank files
... It looks like a parenthesis problem. Solution: loc = SeqFeature(FeatureLocation(self.get_start(),self.get_stop()), type="CDS",strand=self.get_strand()) You wrote loc = SeqFeature(FeatureLocation( (self.get_start(),self.get_stop()), t ...
written 18 months ago by mobiusklein160

Latest awards to mobiusklein

Appreciated 9 months ago, created a post with more than 5 votes. For A: Writing Genbank files
Scholar 17 months ago, created an answer that has been accepted. For A: Writing Genbank files
Teacher 17 months ago, created an answer with at least 3 up-votes. For A: Writing Genbank files
Scholar 18 months ago, created an answer that has been accepted. For A: Writing Genbank files
Teacher 18 months ago, created an answer with at least 3 up-votes. For A: Writing Genbank files
Popular Question 4.0 years ago, created a question with more than 1,000 views. For Genbank Flat File (.Gb) Proper Usage

Help
Access

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