You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read other similar issues but I could not find an answer to my problem.
I have followed the steps written in your vignette and everything works just fine until I try running quant.py
From the data generated in test, I run quant.py as the following: mkdir test/quant arcasHLA quant --ref dat/ref/hla -o test/quant/ test/output/test.extracted.1.fq.gz test/output/test.extracted.2.fq.gz
--> File "/home/arcasHLA-master/scripts/quant.py", line 187, in
with open(indv_p, 'rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'dat/ref/hla.p'
This is indeed true, because in the dir dat/ref, there's hla.p.json not hla.p (I think this has something to do with you switching from pickle to json?)
Even if I omit the optional parameter --ref dat/ref/hla, I get:
--> File "/home/arcasHLA-master/scripts/quant.py", line 177, in
indv_idx = args.ref + '.idx'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Which also makes sense because by default you're setting args.ref = None
Am I doing something wrong? If I were to use the data generated in test, how would you run quant.py? What should I write after --ref?
Thank you for your help.
The text was updated successfully, but these errors were encountered:
you probably found the answer at this point, but I will still answer here as I was looking for the solution as well and probably there will be some people who may look for the answer as well.
you first run genotype option to get test.genotype.json file.
then you run customize option with the test.genotype.json file to generate ref which will create ref folder with .idx file and .p files.
then supply the folder with the base name to quant.
Hi,
Thank you for creating this tool.
I have read other similar issues but I could not find an answer to my problem.
I have followed the steps written in your vignette and everything works just fine until I try running
quant.py
From the data generated in
test
, I runquant.py
as the following:mkdir test/quant
arcasHLA quant --ref dat/ref/hla -o test/quant/ test/output/test.extracted.1.fq.gz test/output/test.extracted.2.fq.gz
--> File "/home/arcasHLA-master/scripts/quant.py", line 187, in
with open(indv_p, 'rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'dat/ref/hla.p'
This is indeed true, because in the dir
dat/ref
, there'shla.p.json
nothla.p
(I think this has something to do with you switching frompickle
tojson
?)Even if I omit the optional parameter
--ref dat/ref/hla
, I get:--> File "/home/arcasHLA-master/scripts/quant.py", line 177, in
indv_idx = args.ref + '.idx'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Which also makes sense because by default you're setting
args.ref = None
Am I doing something wrong? If I were to use the data generated in
test
, how would you runquant.py?
What should I write after--ref
?Thank you for your help.
The text was updated successfully, but these errors were encountered: