ORForise 1.6.0__py3-none-any.whl → 1.6.1__py3-none-any.whl

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.
Files changed (30) hide show
  1. ORForise/Aggregate_Compare.py +2 -4
  2. ORForise/Annotation_Compare.py +4 -7
  3. ORForise/Annotation_Intersector.py +726 -0
  4. ORForise/Convert_To_GFF.py +6 -5
  5. ORForise/GFF_Adder.py +454 -179
  6. ORForise/List_Tools.py +63 -0
  7. ORForise/StORForise.py +8 -4
  8. ORForise/Tools/EasyGene/EasyGene.py +13 -1
  9. ORForise/Tools/{GLIMMER_3/GLIMMER_3.py → GLIMMER3/GLIMMER3.py} +2 -2
  10. ORForise/Tools/{GeneMark_HA/GeneMark_HA.py → GeneMarkHA/GeneMarkHA.py} +1 -1
  11. ORForise/Tools/GeneMarkHA/__init__.py +0 -0
  12. ORForise/Tools/Prodigal/Prodigal.py +13 -1
  13. ORForise/utils.py +4 -1
  14. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/METADATA +216 -229
  15. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/RECORD +29 -27
  16. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/entry_points.txt +4 -2
  17. ORForise/GFF_Intersector.py +0 -192
  18. /ORForise/{Tools → Aux}/StORF_Undetected/Completely_Undetected/Completey_Undetected.py +0 -0
  19. /ORForise/{Tools/GLIMMER_3 → Aux/StORF_Undetected/Completely_Undetected}/__init__.py +0 -0
  20. /ORForise/{Tools → Aux}/StORF_Undetected/StORF_Undetected.py +0 -0
  21. /ORForise/{Tools/GeneMark_HA → Aux/StORF_Undetected}/__init__.py +0 -0
  22. /ORForise/{Tools/StORF_Undetected/Completely_Undetected → Aux/StORF_Undetected/unvitiated_Genes}/__init__.py +0 -0
  23. /ORForise/{Tools → Aux}/StORF_Undetected/unvitiated_Genes/unvitiated_Missed_Genes.py +0 -0
  24. /ORForise/{Tools → Aux}/TabToGFF/TabToGFF.py +0 -0
  25. /ORForise/{Tools/StORF_Undetected → Aux/TabToGFF}/__init__.py +0 -0
  26. /ORForise/{Tools/StORF_Undetected/unvitiated_Genes → Aux}/__init__.py +0 -0
  27. /ORForise/Tools/{TabToGFF → GLIMMER3}/__init__.py +0 -0
  28. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/WHEEL +0 -0
  29. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/licenses/LICENSE +0 -0
  30. {orforise-1.6.0.dist-info → orforise-1.6.1.dist-info}/top_level.txt +0 -0
@@ -339,9 +339,7 @@ def comparator(options):
339
339
 
340
340
 
341
341
  def main():
342
- print("Thank you for using ORForise\nPlease report any issues to: https://github.com/NickJD/ORForise/issues\n"
343
- "Please Cite: https://doi.org/10.1093/bioinformatics/btab827\n"
344
- "#####")
342
+ print(WELCOME)
345
343
 
346
344
  parser = argparse.ArgumentParser(description='ORForise ' + ORForise_Version + ': Aggregate-Compare Run Parameters.')
347
345
  parser._action_groups.pop()
@@ -350,7 +348,7 @@ def main():
350
348
 
351
349
  required.add_argument('-dna', dest='genome_dna', required=True, help='Genome DNA file (.fa) which both annotations '
352
350
  'are based on')
353
- required.add_argument('-t', dest='tools', required=True, help='Which tools to analyse? (Prodigal,GeneMarkS)')
351
+ required.add_argument('-t', dest='tools', required=True, help='Which tools to analyse?')
354
352
  required.add_argument('-tp', dest='tool_predictions', required=True, help='Tool genome prediction file (.gff) - Provide'
355
353
  'file locations for each tool comma separated')
356
354
  required.add_argument('-ref', dest='reference_annotation', required=True,
@@ -11,10 +11,7 @@ try:
11
11
  from Comparator import tool_comparison
12
12
  except ImportError:
13
13
  from .Comparator import tool_comparison
14
- from ORForise.utils import *
15
-
16
-
17
-
14
+ from .utils import *
18
15
 
19
16
  ##########################
20
17
 
@@ -165,8 +162,8 @@ def comparator(options):
165
162
 
166
163
 
167
164
  # Write metrics to CSV
168
- with open(csv_file, 'w', newline='\n', encoding='utf-8') as out_file:
169
165
  tool_out = csv.writer(out_file, quoting=csv.QUOTE_NONE, escapechar=" ")
166
+ tool_out = csv.writer(out_file, quoting=csv.QUOTE_NONE, escapechar=" ") # type: ignore[arg-type]
170
167
  tool_out.writerow(['Representative_Metrics:'])
171
168
  tool_out.writerow(rep_metric_description.split(','))
172
169
  tool_out.writerow([*rep_metrics])
@@ -261,7 +258,7 @@ def comparator(options):
261
258
 
262
259
 
263
260
  def main():
264
- print("Thank you for using ORForise\nPlease report any issues to: https://github.com/NickJD/ORForise/issues\n#####")
261
+ print(WELCOME)
265
262
 
266
263
  parser = argparse.ArgumentParser(description='ORForise ' + ORForise_Version + ': Annotatione-Compare Run Parameters.')
267
264
  parser._action_groups.pop()
@@ -271,7 +268,7 @@ def main():
271
268
  'are based on')
272
269
  required.add_argument('-ref', dest='reference_annotation', required=True,
273
270
  help='Which reference annotation file to use as reference?')
274
- required.add_argument('-t', dest='tool', required=True, help='Which tool to analyse? (Prodigal)')
271
+ required.add_argument('-t', dest='tool', required=True, help='Which tool to analyse?')
275
272
  required.add_argument('-tp', dest='tool_prediction', required=True,
276
273
  help='Tool genome prediction file (.gff) - Different Tool Parameters'
277
274
  ' are compared individually via separate files')