reading multiple files in python
How to read and print structures of multiple pdbfiles from a local folder in my computer.
python
protein
biopython
• 1,828 views
•
link
updated
by
Ram
•
written
by
a4appy23 •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Importing a fastq file
written by oumo •Hello, how do I import a fastq file from my local windows computer into fluent terminal wls
-
Cannot add tools in local galaxy
written by szy0931 •I installed the local Galaxy in Ubuntu subsystem in my Windows 10 computer. I used "nano galaxy.yml" to enter galaxy yml file and added my …
-
How to import multiple pdb files in a file in local computer to pymol simultaneously
written by anndybud •Hi all, I am trying to import my pdb files from different files in a file in local computer to pymol software, and then to …
-
Can HISAT2 be invoked in bash shell, and can it be fed variables or names with wildcards as inputs?
written by RNAseqerHello all, So I have been trying to write up a .sh script that will automate the process of running HISAT2 on a bunch of …
-
finding segment from multiple files
written by a4appy23 •import Bio.PDB as PDB p = PDB.PDBParser() s = p.get_structure("1aac", "1aacH") io = PDB.PDBIO() io.set_structure(s) outfile = '1aac.pdb' io.save(outfile) print("Printed %s" % outfile) i need …
-
Output all atoms within a sphere of 3 A of the center of Trypsine
written by a4appy23 •I'm looking for a simple piece of code. I'm trying to output the atom more than 4A to a separate pdb file. I could do …
-
problems to makeblastdb, the fa file is not being recognised.
written by bio90029 •I have the above code to make a data base from different folder, and I am getting always the same error, 'contigs.fa' no recognized. I …
-
Rmarkdown report from multiple images
written by ParhamHi, I want to make an R markdown report and I want to include multiple images from a local folder (not from running code) into …
-
How to select an unbound structure for a bound protein from multiple options in protein-protein doc…
written by ramachandranakash1994 •I am doing a project on protein-protein docking. My objective to test how good a docking algorithm is. For this I will be doing unbound …
-
downloading nt databases - cannot extract them all?
written by balasink •I have to make a local database to BLAST my sequences that I got from next-generation sequencing. I'm trying to create a local nucleotide database …
Please search online on how to write loops. The zip file is just a tarball of the 100 PDB files. You have the logic ready to deal with one PDB file, surely that can be run in a loop to deal with a 100.
There was a post in Stackoverflow about that.
https://stackoverflow.com/questions/44669318/reading-an-entire-directory-of-pdb-files-using-biopython
it describes a for loop iterating over all files.
Hello a4appy23!
We believe that this post does not fit the main topic of this site.
Not really bioinformatics, despite using PDB files. Search google for advice on creating loops in shell or python.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!