تقديم GalaxyR: تنفيذ سهل الاستخدام لـ R لواجهة برمجة تطبيقات Galaxy Introducing GalaxyR: an easy-to-use R implementation of the Galaxy API

شارك:
المجلة: BMC Bioinformatics، المجلد: 27، العدد: 1
DOI: https://doi.org/10.1186/s12859-026-06591-0
PMID: https://pubmed.ncbi.nlm.nih.gov/42581344
تاريخ النشر: 2026-08-10
المؤلف: Julian Frey وآخرون
الموضوع الرئيسي: الحوسبة العلمية وإدارة البيانات

نظرة عامة

تقدم البحث GalaxyR، وهو حزمة R أصلية مصممة لتعزيز إمكانية الوصول وإعادة إنتاج البحث العلمي المعتمد على البيانات من خلال توفير واجهة منظمة لواجهة برمجة تطبيقات Galaxy (API). بينما كانت منصة Galaxy تستهدف بشكل أساسي مستخدمي Python من خلال BioBlend، فإن GalaxyR يمكّن مستخدمي R من إدارة السجلات، وتحميل واسترجاع البيانات، وتنفيذ الأدوات وسير العمل، ومراقبة الوظائف مباشرة داخل بيئة R. يسمح هذا التكامل بتدفقات عمل آلية وفعالة من حيث الموارد دون الحاجة إلى موارد حوسبة عالية الأداء محليًا، داعمًا كل من نقل البيانات عبر HTTPS و FTP.

توضح مثال تطبيقي قدرات GalaxyR في معالجة بيانات المسح بالليزر المعتمدة على الطائرات بدون طيار، حيث يتم تحميل مهمة تقسيم الأشجار المعقدة على بنية Galaxy التحتية، بينما يتم إدارة التحكم في سير العمل والمعالجة المسبقة بكفاءة في R. تسلط النتائج الضوء على إمكانية GalaxyR في سد فجوة كبيرة لمستخدمي R، مما يسهل البحث القابل للتوسع وإعادة الإنتاج عبر مجالات مختلفة، بما في ذلك المعلوماتية الحيوية، والبيئة، والاستشعار عن بعد. بشكل عام، يعمل GalaxyR كأداة قوية لدمج التحليلات المعتمدة على Galaxy في سير العمل العلمي لـ R، مما يعزز قدرة مجتمع R على إجراء تحليلات بيانات معقدة ومهام الأتمتة.

مقدمة

تسلط المقدمة الضوء على التحديات المستمرة في التوحيد القياسي، وإمكانية الوصول، والتشغيل البيني، وإعادة الاستخدام في الأدوات التحليلية ضمن علوم الحياة والحقول المعتمدة على البيانات ذات الصلة. تعيق هذه التحديات إعادة الإنتاج والشفافية في التحليلات الحاسوبية. ظهرت منصة Galaxy كحل كبير، حيث توفر بيئة شاملة لتنفيذ ومشاركة ونشر سير العمل العلمي. تم تصميم Galaxy في البداية للبحث الطبي الحيوي، وقد وسعت من فائدتها عبر مجالات مختلفة، بما في ذلك علم البيئة وعلوم نظام الأرض، بفضل واجهتها سهلة الاستخدام التي تسمح بإجراء تحليلات معقدة دون مهارات برمجية. بالإضافة إلى ذلك، تسهل واجهة برمجة تطبيقات REST الخاصة بـ Galaxy الأتمتة والتكامل، على الرغم من أن التفاعل المباشر مع واجهة برمجة التطبيقات يمكن أن يكون مرهقًا لغير مهندسي البرمجيات.

لسد الفجوة بين Galaxy وبيئة برمجة R، طور المؤلفون GalaxyR، وهي حزمة R أصلية تقدم واجهة منظمة لواجهة برمجة تطبيقات Galaxy. تمكن هذه الحزمة المستخدمين من أداء المهام الأساسية مثل تحميل البيانات، وإدارة السجلات، واستدعاء الأدوات وسير العمل مباشرة من R. من خلال دمج قدرات Galaxy في R، يسمح GalaxyR للباحثين بأتمتة سير العمل المعقدة أثناء استخدام خوادم Galaxy العامة، مما يلغي الحاجة إلى بنية تحتية حوسبية محلية متخصصة. تعتبر هذه الإمكانية مفيدة بشكل خاص للتحليلات واسعة النطاق التي تتطلب موارد حوسبة كبيرة، مما يقلل من الحواجز التقنية ويعزز اعتماد الأساليب التحليلية المتقدمة عبر مختلف التخصصات العلمية.

نقاش

تسهل حزمة GalaxyR تدفقات العمل الحاسوبية القابلة لإعادة الإنتاج والقابلة للتوسع في التحليلات العلمية المعتمدة على البيانات، لا سيما في المعلوماتية الحيوية وعلوم البيانات الجغرافية. تستخدم المصادقة المعتمدة على مفتاح API والتكوين المركزي للتفاعل السلس مع مثيلات Galaxy، داعمة كل من نقل البيانات عبر HTTPS و FTP. تشمل الوظائف الرئيسية إدارة شاملة لسجل Galaxy، وآليات تحميل بيانات ديناميكية، ومراقبة تنفيذ قوية، مما يمكّن المستخدمين من إدارة وتحليل مجموعات بيانات كبيرة بكفاءة. يسمح تصميم الحزمة باستدعاءات سير العمل المباشرة ودمج استرجاع البيانات الوصفية، مما يعزز تجربة المستخدم في التعامل مع التحليلات المعقدة.

يوضح مثال تطبيقي قدرات GalaxyR في معالجة مجموعات بيانات LiDAR الواسعة لرسم هيكل الغابات. من خلال استخدام حزمة lidR لتقسيم البيانات وتنفيذ المهام الحاسوبية المعقدة على خوادم Galaxy الأوروبية، نجح الباحثون في تقسيم أكثر من 250,000 شجرة فردية من مجموعة بيانات تتجاوز 460 جيجابايت. تسلط هذه الحالة الضوء على كيفية تمكين GalaxyR من تنسيق التعامل مع البيانات المحلية مع التنفيذ عن بُعد عالي الأداء، مما يبرز إمكانيته للتحليل القابل للتوسع لمجموعات البيانات الكبيرة. ومع ذلك، يشير النقاش إلى القيود في التعامل مع الهياكل البيانية المعقدة والتفاعل المباشر مع مصادر البيانات عن بُعد، مما يشير إلى اتجاهات التطوير المستقبلية لتعزيز وظائف GalaxyR وقدرات التكامل.

Journal: BMC Bioinformatics, Volume: 27, Issue: 1
DOI: https://doi.org/10.1186/s12859-026-06591-0
PMID: https://pubmed.ncbi.nlm.nih.gov/42581344
Publication Date: 2026-08-10
Author(s): Julian Frey et al.
Primary Topic: Scientific Computing and Data Management

Overview

The research introduces GalaxyR, a native R package designed to enhance the accessibility and reproducibility of data-intensive scientific research by providing a structured interface to the Galaxy application programming interface (API). While the Galaxy platform has primarily catered to Python users through BioBlend, GalaxyR enables R users to manage histories, upload and retrieve data, execute tools and workflows, and monitor jobs directly within the R environment. This integration allows for automated and resource-efficient workflows without the need for local high-performance computing resources, supporting both HTTPS and FTP data transfers.

An application example illustrates GalaxyR’s capabilities in processing drone-based laser scanning data, where the computationally intensive task of tree-level segmentation is offloaded to the Galaxy infrastructure, while workflow control and preprocessing are efficiently managed in R. The findings highlight GalaxyR’s potential to bridge a significant gap for R users, facilitating scalable and reproducible research across various fields, including bioinformatics, ecology, and remote sensing. Overall, GalaxyR serves as a robust tool for integrating Galaxy-based analyses into scientific R workflows, thereby enhancing the R community’s ability to perform complex data analyses and automation tasks.

Introduction

The introduction highlights the persistent challenges of standardization, accessibility, interoperability, and reusability in analytical tools within the life sciences and related data-driven fields. These challenges hinder reproducibility and transparency in computational analyses. The Galaxy platform has emerged as a significant solution, providing a comprehensive environment for executing, sharing, and publishing scientific workflows. Initially designed for biomedical research, Galaxy has expanded its utility across various domains, including ecology and earth system sciences, thanks to its user-friendly interface that allows complex analyses without programming skills. Additionally, Galaxy’s REST API facilitates automation and integration, although direct interaction with the API can be daunting for non-software engineers.

To bridge the gap between Galaxy and the R programming environment, the authors developed GalaxyR, a native R package that offers a structured interface to the Galaxy API. This package enables users to perform essential tasks such as uploading data, managing histories, and invoking tools and workflows directly from R. By integrating Galaxy’s capabilities into R, GalaxyR allows researchers to automate complex workflows while utilizing public Galaxy servers, thus eliminating the need for specialized local computing infrastructure. This accessibility is particularly beneficial for large-scale analyses requiring significant computational resources, thereby lowering technical barriers and enhancing the adoption of advanced analytical methods across various scientific disciplines.

Discussion

The GalaxyR package facilitates reproducible and scalable computational workflows in data-intensive scientific analyses, particularly within bioinformatics and geospatial data sciences. It employs API-key-based authentication and centralized configuration for seamless interaction with Galaxy instances, supporting both HTTPS and FTP data transfers. Key functionalities include comprehensive Galaxy history management, dynamic data upload mechanisms, and robust execution monitoring, enabling users to efficiently manage and analyze large datasets. The package’s design allows for straightforward workflow invocations and integration of metadata retrieval, enhancing the user experience in handling complex analyses.

An application example illustrates GalaxyR’s capabilities in processing extensive LiDAR datasets for forest structure mapping. By utilizing the lidR package for data tiling and executing computationally intensive tasks on European Galaxy servers, researchers successfully segmented over 250,000 individual trees from a dataset exceeding 460 gigabytes. This case highlights how GalaxyR enables the orchestration of local data handling with high-performance remote execution, underscoring its potential for scalable analysis of large datasets. However, the discussion notes limitations in handling complex data structures and direct interaction with remote data sources, indicating future development directions for enhancing GalaxyR’s functionality and integration capabilities.