Skip to content

Commit

Permalink
fix the directory option functionality and update GUI executable
Browse files Browse the repository at this point in the history
  • Loading branch information
olgatsiouri1996 committed Dec 28, 2021
1 parent 1df8d62 commit dd2cb1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bioinfo_gui_scripts [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5800157.svg)](https://doi.org/10.5281/zenodo.5800157)
# bioinfo_gui_scripts
python scripts that can be easily transformed to gui programs for wet lab scientists to use(see the wiki page for documentation and depedences)
## GUI stadalone programs(.exe)
1. DSSP statistics GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4838997.svg)](https://doi.org/10.5281/zenodo.4838997)
Expand All @@ -15,7 +15,7 @@ python scripts that can be easily transformed to gui programs for wet lab scient
12. tab to fasta GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5703366.svg)](https://doi.org/10.5281/zenodo.5703366)
13. single-fastas to tabular GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5672075.svg)](https://doi.org/10.5281/zenodo.5672075)
14. tabular file to single-fastas GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5652249.svg)](https://doi.org/10.5281/zenodo.5652249)
15. fasta formatter GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5799390.svg)](https://doi.org/10.5281/zenodo.5799390)
15. fasta formatter GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5807930.svg)](https://doi.org/10.5281/zenodo.5807930)
16. chain pdb to fasta GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5706468.svg)](https://doi.org/10.5281/zenodo.5706468)
17. subset pdb to fasta GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5725658.svg)](https://doi.org/10.5281/zenodo.5725658)
18. trim fasta GUI: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5794123.svg)](https://doi.org/10.5281/zenodo.5794123)
Expand Down
2 changes: 1 addition & 1 deletion fasta_manipulation/fasta_formatter_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def split_every_width(s,w): return [s[i:i+w] for i in range(0,len(s),w)]
sys.stdout.close()
elif args['program'] == 2:
# import each fasta file from the working directory
for filename in sorted(os.listdir(str(os.getcwd()))):
for filename in sorted(os.listdir(os.chdir(args['directory']))):
if filename.endswith(".fa") or filename.endswith(".fasta"):
# export to new fasta files with the user imported width value
sys.stdout = open(''.join([filename.split(".")[0],"_","w",str(args['width']),".fasta"]), 'a')
Expand Down

0 comments on commit dd2cb1f

Please sign in to comment.