Comments (5)
Thanks! I'll check this out now.
from sample-sheet.
At the moment the only supported interpreter is Python3.6. If you have interest in this library supporting previous Python versions let me know.
Are you sure you are using Python 3.6? Your print sample_sheet
statement suggests otherwise.
I just did a fresh install with:
$ pip3 install sample-sheet
And the following result:
>>> import os
>>> import sys
>>> import csv
>>> from sample_sheet import SampleSheet
>>> url = 'https://raw.githubusercontent.com/clintval/sample-sheet/master/tests/resources/{}'
>>> sample_sheet = SampleSheet(url.format('paired-end-single-index.csv'))
>>> print(sample_sheet) # note the Python3 print syntax
SampleSheet("https://raw.githubusercontent.com/clintval/sample-sheet/master/tests/resources/paired-end-single-index.csv")
EDIT: By the way you should not need the os
, sys
, or csv
imports.
from sample-sheet.
Yes, it worked ok from the console, it might be something on somewhere in my Python setup. I am using 3.6 anyway.
Thanks, I will close it.
from sample-sheet.
No problem. Feel free to write back if you have any difficulty.
from sample-sheet.
It worked fine, some dumb mistake on my end. I tested with your example and it worked fine. I will open another ticket, with a request more than an error.
Thanks again
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.