The documentation you have provided is incomplete.
The README refers to data files, which I assume are examples, but these are no where to be found either in Github or your papers supplementary data.
When I try to run this program using my own fasta sequences, I get the following error when hitting "build" after selecting a fasta file:
Traceback (most recent call last):
File "main_window.py", line 353, in OnReturn
self.main_window.pyramid = self.pyramid
AttributeError: 'LoaderWindow' object has no attribute 'pyramid'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "main_window.py", line 89, in run
pyramid = pyr.build_and_filter(self.base_folder, self.size_pyramid, self.factor)
File "/Users/foobar/git/GRAAL/pyramid_sparse.py", line 36, in build_and_filter
build(base_folder, init_size_pyramid, factor, min_bin_per_contig,)
File "/Users/foobar/git/GRAAL/pyramid_sparse.py", line 168, in build
shutil.copyfile(contig_info,current_contig_info)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/Users/foobar/git/GRAAL/workdir/info_contigs.txt'
Your code is trying to copy a file that doesn't yet exist. If this is some sort of guide file that I need to create beforehand, it's necessary to tell me what goes into it and where to put it. Perhaps this is a hanging legacy of development, where you've always had this dependency satisfied but were unaware that it existed.
Am I also only guessing what sequences are meant to be selected at this point. Is it the contigs? I would have a better idea if the next window was available, but GRAAL won't open until the pyramid is created.
So, please specify the file formats for:
- info_contigs.txt
- abs_fragments_contacts_weighted.txt
Or explain how these can be satisfied, as I cannot get passed this step.