Biopython Project

837 posts

Biopython Project

Biopython Project

@Biopython

Open-source bioinformatics libraries in Python

Worldwide Sumali Mart 2009
47 Sinusundan4.4K Mga Tagasunod
Biopython Project
Biopython Project@Biopython·
@webflags1 @NCBI Sounds like a planned change - and quite likely the NCBI did make an announcement somewhere (I’m not familiar with that particular DB) /Peter
English
0
0
0
0
WebFlaGs
WebFlaGs@webflags1·
@Biopython @NCBI Thanks Peter for your reply! Waiting a for a response from the NCBI, but we may have a fix. It seems like they have quietly turned off support for the ipg rettype, but that ipg is now a db in itself that can be searched with a protein accession.
English
1
0
0
0
WebFlaGs
WebFlaGs@webflags1·
We're getting unexpected output for @NCBI API identical protein group records via @Biopython Entrez.efetch(db="protein", id=accession_nr, rettype="ipg", retmode="xml") Anyone know what's going on?
English
1
0
0
0
Biopython Project
Biopython Project@Biopython·
@webflags1 @NCBI You’ll have to ask the NCBI - I’d suggest sharing the URL itself, the handle from Bio.Entrez has a .url attribute you can look at. You can also try debugging the URL in your browser (e.g. try other format/mode combinations). /Peter
English
1
0
1
0
WebFlaGs
WebFlaGs@webflags1·
@NCBI @Biopython specifically, the output is returned in genbank format instead of the ipg format requested
English
1
0
0
0
Biopython Project nag-retweet
Peter Cock
Peter Cock@pjacock·
Just ordered a pair of free 2FA keys courtesy Google Open Source Security Team for use with PyPI where a few of my projects are now deemed “critical” (plus @Biopython) pypi.org/security-key-g…
English
0
1
8
0
Tomer Altman
Tomer Altman@tomeraltman·
TIL that you can do basic interval arithmetic in @Biopython, such as translating a feature's location by a fixed amount. Addition is straight-forward, but subtraction is roundabout: `loc + (-5)` instead of `loc - 5`.
English
2
0
0
0
Chase W. Nelson 倪誠志
Chase W. Nelson 倪誠志@chasewnelson·
@ThePSF @Biopython The only way I can imagine, which is a bit cumbersome, is to: 1) create firstColList — a list of the columns to be placed in front 2) create a list of the remaining cols using a set difference, perhaps list(myDataFrame.columns).difference(firstColList) 3) reassign the DataFrame
English
3
0
1
0
Chase W. Nelson 倪誠志
Chase W. Nelson 倪誠志@chasewnelson·
Using #RStats, it's possible to reorder columns as follows: dplyr::select(myDataFrame, colName1, colName2, everything()) Is there a simple way to do the same with #Python #pandas—namely, pull out some columns to the front and specify the remainder with an everything() function?
Chase W. Nelson 倪誠志 tweet media
English
2
1
3
0
Kai Blin
Kai Blin@kaiblin·
I just released version 0.1.2 of merge-gbk-records github.com/kblin/merge-gb…, a script to join multiple genbank records into one with a spacer sequence. Version 0.1.2 is a bugfix release to support the current @Biopython release.
English
2
1
3
0
Biopython Project
Biopython Project@Biopython·
@KarenFlemingPhD Yes please - pull request via the “Edit on GitHub” link top left of that page would be most welcome. /Peter
English
0
0
0
0
Biopython Project
Biopython Project@Biopython·
@kaiblin This will be the replacement for the UnknownSeq object I think? Could you log an issue please /Peter @pjacock
English
1
0
0
0
Kai Blin
Kai Blin@kaiblin·
Ah, crud, the new Bio.Seq.UndefinedSequenceError in @Biopython 1.79 really kills our WGS record detection by moving the place we need to detect the error to a completely different place in the code base, and no way to do it while staying compatible to 1.78 or older 😞💔
English
1
0
1
0
Biopython Project nag-retweet
Yu Kitago
Yu Kitago@uKitago·
#Biopython can handle #snapgene file! Using this feature, it's possible to easily convert many snapgene files into #genbank format files!!
English
0
1
3
0
basta camila
basta camila@DownToAby·
@poikahmusica @Biopython A friend already made me realize that the problem was actually that due to the format of one of my input files, I was selecting a key that was not inside the dictionary. Already fixed, thanks!
English
1
0
0
0
basta camila
basta camila@DownToAby·
Am I stupid? I really can't understand why I can't print protein sequences to StdOut using #Biopython. I am just using a very simple loop, and I keep getting the same error which I have not been able to debug. WTF? PS: I already imported the proper Bio.Alphabet and everything
basta camila tweet mediabasta camila tweet media
English
2
0
7
0