refgenie / refgenconf

A Python object for standardized reference genome assets.
http://refgenie.databio.org
BSD 2-Clause "Simplified" License
3 stars 6 forks source link

init should create data and alias directories #110

Closed nsheff closed 3 years ago

nsheff commented 3 years ago

does the user have to manually create a data folder under the new config format? should this be created by init ?

refgenie init -c $REFGENIE
Initialized genome configuration file: /home/nsheff/garage/refgenie/refgenie_v4.yaml

now pull something:

databio/methpl|~/garage/refgenie$ refgenie pull t7/fasta
Traceback (most recent call last):
  File "/home/nsheff/.local/bin/refgenie", line 8, in <module>
    sys.exit(main())
  File "/home/nsheff/.local/lib/python3.8/site-packages/refgenie/refgenie.py", line 761, in main
    raise MissingFolderError(outdir)
refgenie.exceptions.MissingFolderError: /home/nsheff/garage/refgenie/data
stolarczyk commented 3 years ago

yes, you're right. I've never pulled an asset first after the updates so I didn't catch that..