Comments (5)
You probably ran the barcode.py
program directly from source. For example:
python celescope/tools/barcode.py -h
This is not the correct way to run the program.
After you have installed celescope, you can run the barcode program like this:
celescope rna barcode -h
Please take a look at
https://github.com/singleron-RD/CeleScope/blob/master/docs/quick_start.md
from celescope.
Sorry for the late reply. Running the barcode
step requires running the sample
step first.
celescope rna sample \
--outdir ./ \
--sample test \
--chemistry auto \
--fq1 ../../../data/rawDATA_TargetedAmplification/TA-1C_AHW75CBGXL_R1_PE150.fastq.gz
from celescope.
That was exactly the case, I will try running the program within celescope itself. Many thanks for your fast help !
from celescope.
Good morning,
thanks to your previous help I could successfully run the barcode tool calling it from the celescope binary, much appreciated.
Unfortunately, I now have a new error message. Here I paste the output with the calling command and messages. I can identify a previous warning related to the sample_summary.metrics and an 'assay not found', I'm not sure if it has something to do with that.
Just to clarify, I am running the barcode tool on a pair of fq files independently, don't have any full run of celescope (in case some kind of initial sampleinfo or config files have to be provided as is the case in other pipelines).
Also, barcode whitelist file and linkers are the ones dowloaded from this same github for the v3.0 chemistry.
Many thanks in advance.
--- CELESCOPE OUTPUT START ---
2023-04-12 12:03:50,137 - celescope.tools.barcode.barcode - INFO - start...
Args: Namespace(subparser_assay='rna', chemistry='auto', pattern=None, whitelist='./singleron_v3_bclist.txt', linker='./singleron_v3_linkers.txt', lowQual=0, lowNum=2, nopolyT=False, noLinker=False, filterNoPolyT=False, allowNoLinker=False, gzip=True, output_R1=False, fq1='../../../data/rawDATA_TargetedAmplification/TA-1C_AHW75CBGXL_R1_PE150.fastq.gz', fq2='../../../data/rawDATA_TargetedAmplification/TA-1C_AHW75CBGXL_R2_PE150.fastq.gz', match_dir=None, outdir='./', sample='test', thread='12', debug=True, func=<function barcode at 0x7f26b6653550>)
2023-04-12 12:03:50,137 - celescope.tools.barcode.parse_pattern - INFO - start...
2023-04-12 12:03:50,137 - celescope.tools.barcode.parse_pattern - INFO - done. time used: 0:00:00.000118
2023-04-12 12:03:50,157 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,162 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.005109
2023-04-12 12:03:50,167 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,177 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.010517
2023-04-12 12:03:50,177 - celescope.tools.barcode.parse_pattern - INFO - start...
2023-04-12 12:03:50,177 - celescope.tools.barcode.parse_pattern - INFO - done. time used: 0:00:00.000016
2023-04-12 12:03:50,192 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,196 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.004317
2023-04-12 12:03:50,197 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,284 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.086985
2023-04-12 12:03:50,285 - celescope.tools.barcode.parse_pattern - INFO - start...
2023-04-12 12:03:50,285 - celescope.tools.barcode.parse_pattern - INFO - done. time used: 0:00:00.000041
2023-04-12 12:03:50,287 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,332 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.045505
2023-04-12 12:03:50,334 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,461 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.127026
2023-04-12 12:03:50,461 - celescope.tools.barcode.parse_pattern - INFO - start...
2023-04-12 12:03:50,461 - celescope.tools.barcode.parse_pattern - INFO - done. time used: 0:00:00.000044
2023-04-12 12:03:50,463 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,465 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.001743
2023-04-12 12:03:50,497 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,590 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.093359
2023-04-12 12:03:50,591 - celescope.tools.barcode.parse_pattern - INFO - start...
2023-04-12 12:03:50,591 - celescope.tools.barcode.parse_pattern - INFO - done. time used: 0:00:00.000046
2023-04-12 12:03:50,624 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,625 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.001766
2023-04-12 12:03:50,626 - celescope.tools.barcode.get_mismatch_dict - INFO - start...
2023-04-12 12:03:50,802 - celescope.tools.barcode.get_mismatch_dict - INFO - done. time used: 0:00:00.175075
2023-04-12 12:03:50,802 - celescope.tools.barcode.check_chemistry - INFO - start...
../../../data/rawDATA_TargetedAmplification/TA-1C_AHW75CBGXL_R1_PE150.fastq.gz
2023-04-12 12:03:50,802 - celescope.tools.barcode.get_chemistry - INFO - start...
2023-04-12 12:03:51,052 - celescope.tools.barcode.get_chemistry - INFO - [('scopeV3.0.1', 9490), ('scopeV2.2.1', 1), ('scopeV2.1.1', 0)]
2023-04-12 12:03:51,053 - celescope.tools.barcode.get_chemistry - INFO - chemistry: scopeV3.0.1
2023-04-12 12:03:51,053 - celescope.tools.barcode.get_chemistry - INFO - done. time used: 0:00:00.250556
2023-04-12 12:03:51,053 - celescope.tools.barcode.check_chemistry - INFO - done. time used: 0:00:00.250662
2023-04-12 12:03:51,053 - celescope.tools.step.get_slot_key - INFO - start...
2023-04-12 12:03:51,053 - celescope.tools.step.get_slot_key - WARNING - Assay not found in sample_summary.metrics
Traceback (most recent call last):
File "/home/oreina/miniconda3/envs/celescope/bin/celescope", line 8, in
sys.exit(main())
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/celescope.py", line 45, in main
args.func(args)
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 46, in wrapper
result = func(*args, **kwargs)
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/barcode.py", line 728, in barcode
with Barcode(args, display_title='Demultiplexing') as runner:
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/barcode.py", line 200, in init
self._assay = self.get_slot_key(
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 46, in wrapper
result = func(*args, **kwargs)
File "/home/oreina/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/step.py", line 205, in get_slot_key
return self.__content_dict[slot][step_name + '_summary'][key]
KeyError: 'sample_summary'
--- CELESCOPE OUTPUT END ---
from celescope.
No worries, and MANY thanks for your help, I could run everything without problems now.
Warm regards.
from celescope.
Related Issues (20)
- FileNotFoundError: [Errno 2] No such file or directory: '/SGRNJ06/randd/USER/zhouyiqi/test/gtf_filter/celescope_genome.config' HOT 2
- genomeParameters.txt HOT 1
- How to update CeleScope? HOT 1
- Where is fusion_genomeDir? HOT 4
- celescope rna [E::idx_find_and_load] Could not retrieve index file for bam files HOT 1
- threads for multi_rna HOT 1
- remove duplicates HOT 1
- cell calling HOT 4
- vdj mkref no longer available? HOT 4
- "FileNotFoundError: --match_dir or --matrix_dir is required" when running "celescope vdj count_vdj" HOT 2
- flv_CR mapping prompt `rds file and type file do not exist` error HOT 4
- test data run ERROR: genomeParameters.txt not found HOT 3
- How to create bam document?
- problems HOT 13
- [W::bgzf_read_block] EOF marker is absent. The input may be truncated. HOT 1
- EOF marker is absent. The input may be truncated HOT 1
- json.decoder.JSONDecodeError HOT 2
- docker image fails to build HOT 2
- New version of celescope, old version of singleron scRNA-seq data 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 celescope.