Comments (5)
Dictionaries are ordered in Py3.6+ implicitly and became a language feature in 3.7.
Could your provide a sample sheet in which the keys are read from a file and then written in a different order?
from sample-sheet.
Oh nevermind! I understand your request. The code to change would effectively be here:
sample-sheet/sample_sheet/_sample_sheet.py
Lines 846 to 847 in 35a84d7
I've been meaning to fix #51 this week so I'll build this into my time. Thanks for the request! I think it's a great addition and will definitely help with running a checksum or diff on a sample sheet.
from sample-sheet.
Great, thanks!
I do have a second request. I will open a new issue though.
from sample-sheet.
Hi @reisingerf I spent some suiting this issue today! With the changes, I did break the API a little in order to support ordered case-insensitive key access within samples and sections.
Could you check out the project on master
and let me know if it suits you?
Also I spun-up auto-documentation for this project which will help describe the API. I will also post change-logs and deprecations going forward (as I trend towards v1
).
http://sample-sheet.readthedocs.io/
Eager to hear your thoughts. Thanks!
from sample-sheet.
I had a quick run with out current sample sheet and it looks good to me.
I like the additional warnings (especially since I can disable them, if required).
Thanks a lot for addressing this so quickly!
from sample-sheet.
Related Issues (20)
- Support Python2 HOT 1
- Support comments HOT 2
- Feature Request: SampleSheet v2 support HOT 9
- validator HOT 7
- How to update the sample sheet object? HOT 1
- index validation HOT 2
- Intended behavior of empty samplesheet with missing sections HOT 1
- Index validation on indexes with spaces at the end
- Request - handling nonstandard tables HOT 1
- relationship with PEP HOT 1
- Issue1: special character
- Confusing error on file with no sections
- test_to_picard_basecalling_params_output_files fails on MacOS
- Appetite for looking up samples by Sample_ID HOT 1
- Feature request: support read structures like `+T` HOT 1
- PE + Multi index HOT 2
- Add option do deactivate sanity check for reading sample sheets and adding samples
- Sample_ID validation
- Do you support custom application settings and data sections? does Illumina? HOT 1
- Error parsing samplesheet 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 sample-sheet.