Nextflow linter
lifebit-ai / action-nextflow-lint Goto Github PK
View Code? Open in Web Editor NEW:octocat: Nextflow linter
:octocat: Nextflow linter
https links don't work in environments with network restrictions.
Currently, information in nextflow.config cannot be parsed properly.
This is because the type of text is not appropriate to parse using Python packages such as ConfigParser. Therefore, current approach is to get values and keys by reading strings line by line. (i. e. Example)
Suggestion
To have a package to read config files properly. For instance:
>> read_data = open(“nextflow.config”)
>> read_data.profiles
////
standard {includeConfig params.config}
docker { docker.enabled = true }
test { includeConfig 'conf/test.config' }
singularity {includeConfig 'conf/singularity.config'}
test_gatk_mode { includeConfig 'conf/test_gatk_mode_small.config' }
awsbatch { includeConfig 'conf/awsbatch.config' }
test_awsbatch { includeConfig 'conf/test_awsbatch.config' }
test_gatk_awsbatch { includeConfig 'conf/test_gatk_awsbatch.config' }
////
This improvement might facilitate:
profiles {
should_fail { includeConfig 'conf/failing.config'}
should_pass { includeConfig 'conf/should_pass.config' }
}
The Github action can report as a reviewer in the PR
The linting would provide a report similar to pytest where each screened profile status of the check should be
check: should_fail - FAILED ❌
check: should_pass - PASSED ✅
If even 1 profile check doesn’t pass, then the ci test, should fail
awsbatch
etcA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.