apscale-gui 3.2.3__tar.gz → 3.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apscale_gui
3
- Version: 3.2.3
3
+ Version: 3.2.4
4
4
  Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
5
5
  Home-page: https://github.com/TillMacher/apscale_gui
6
6
  Author: Till-Hendrik Macher
@@ -472,8 +472,7 @@ def run_apscale_blast(project_folder, available_fasta_files, available_databases
472
472
 
473
473
  categories = ['t_species', 't_genus', 't_family', 't_order', 't_class']
474
474
  thresholds = ','.join([str(st.session_state[i]) for i in categories])
475
- filter_mode = 1
476
- b_filter(output_folder, database, thresholds, str(st.session_state['n_cores']), filter_mode, st.session_state['rating_range'])
475
+ b_filter(output_folder, database, thresholds, str(st.session_state['n_cores']), st.session_state["filter_mode"], st.session_state['rating_range'], st.session_state['sim_range'])
477
476
 
478
477
  st.success('Finished blastn!')
479
478
  print('')
@@ -1004,7 +1003,7 @@ def main():
1004
1003
  st.text_input(label='n_cores', key='n_cores', value=multiprocessing.cpu_count()-2)
1005
1004
  st.text_input(label='subset_size', key='subset_size', value=100)
1006
1005
  with col2:
1007
- st.selectbox(label='Task', key='task', options=['blastn', 'megablast', 'dc-megablast'])
1006
+ st.selectbox(label='Task', key='task', options=['blastn', 'megablast', 'dc-megablast'], index=1)
1008
1007
  st.text_input(label='max_target_seqs', key='max_target_seqs', value=20)
1009
1008
  # Database & query
1010
1009
  available_databases = {Path(i).name:Path(i) for i in glob.glob(str(path_to_projects / 'APSCALE_databases' / '*'))}
@@ -1023,7 +1022,11 @@ def main():
1023
1022
  st.text_input(label='Order (%)', key='t_order', value=87)
1024
1023
  with col2:
1025
1024
  st.selectbox(label='Masking', key='masking', options=[True, False], index=0)
1026
- st.text_input(label='Rating range', key='rating_range', value=10)
1025
+ filter_mode_dict = {'similarity -> e-value -> rating (optional)':"1", 'e-value -> similarity -> rating (optional)':"2", 'similarity -> rating (optional)':"3"}
1026
+ filter_mode_key = st.selectbox(label='Filter mode', key='filter_mode_key', options=filter_mode_dict.keys())
1027
+ st.session_state["filter_mode"] = filter_mode_dict[filter_mode_key]
1028
+ st.selectbox(label='Rating range', key='rating_range', options=[i for i in range(0, 11)], index=5)
1029
+ st.selectbox(label='Similarity range', key='sim_range', options=[i for i in range(0, 11)], index=0)
1027
1030
  # Run blast
1028
1031
  st.subheader('Run apscale-blast')
1029
1032
  if st.button(f'Start taxonomic assignment'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apscale_gui
3
- Version: 3.2.3
3
+ Version: 3.2.4
4
4
  Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
5
5
  Home-page: https://github.com/TillMacher/apscale_gui
6
6
  Author: Till-Hendrik Macher
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="apscale_gui",
8
- version="3.2.3",
8
+ version="3.2.4",
9
9
  author="Till-Hendrik Macher",
10
10
  author_email="macher@uni-trier.de",
11
11
  description="Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface",
File without changes
File without changes
File without changes
File without changes