Comments (3)
Currently, Streamlit and Flask are difficult to obtain the directory path, which is the input for DAJIN2 (v0.4.6).
While it is possible to obtain the directory path using tkinter.filedialog.askdirectory
, the appearance is so poor that it is not worth using.
In Dorado, the output is a BAM file, so it is possible to handle it with Flask as it involves obtaining a path rather than a directory.
Although Guppy's output is a directory, it would be better to align with Dorado's format for consistency. #37
from dajin2.
Flet looks good.
It can select a directry.
import flet as ft
import os
def main(page: ft.Page):
page.title = "Folder Picker Example"
def pick_folder(e):
file_picker.get_directory_path()
def folder_picked(e: ft.FilePickerResultEvent):
if e.path:
selected_folder.value = os.path.abspath(e.path)
page.update()
file_picker = ft.FilePicker(on_result=folder_picked)
page.overlay.append(file_picker)
pick_folder_button = ft.ElevatedButton("Pick a Folder", on_click=pick_folder)
selected_folder = ft.Text("No folder selected")
page.add(pick_folder_button, selected_folder)
ft.app(target=main)
from dajin2.
In the case of Dorado, it is simpler to specify the file directly, and it is easier to create a GUI.
Given that the default basecaller in MinKNOW has become Dorado, it might be more convenient for DAJIN2 to adopt a format where the path to BAM or FASTA files output by Dorado is specified directly as default.
Additionally, by including the -d/--directory
option, users could select the directory path, which could enhance usability.
from dajin2.
Related Issues (20)
- genome_fetcher.py error HOT 3
- Add a detection method for unintended inversion HOT 3
- Add VCF reports
- Improve Handling of Sequence Error Deletions within Large Deletions HOT 1
- Replace setup.py to pyproject.toml HOT 3
- DAJIN2 reports extremely low-frequency alleles (e.g. 0.005%) HOT 1
- Test for Dorado basecaller HOT 3
- Add tests to `utils.cssplits_handler.insertion_within_deletion` HOT 1
- An error occurs if there is an "_" in the FASTA header name. HOT 1
- Incorrect Insertion Allele Judgement for Matched Sequences within Large Deletions
- Test with Python 3.11 and 3.12 HOT 2
- Enhance Alignment Accuracy for Short Reads by Integrating `map-ont` and `splice` Options HOT 1
- Test DAJIN2 using the Build mappy on macOS ARM HOT 3
- Remove `networkx` from pyproject.toml HOT 1
- Add alignment chart
- Remove `pandas` from pyproject.toml
- Modify `convert_cssplit_to_dna`
- Replace `typing.Generator` to `collections.abc.Iterator`
- Replace `midsv` to `csvtag` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dajin2.