Illumina / isaac2

Aligner for sequencing data
Other
21 stars 4 forks source link

isaac-sort-preferenc: space in file path #4

Closed zeus19900814 closed 9 years ago

zeus19900814 commented 9 years ago

Dear Isaac2 developers:

When I use isaac-sort-preference to create a preference to a fasta file, if the file path following -g has a space in it, isaac-sort-preference will throw an error saying "./isaac-sort-reference: line 104: /file/path/before/space/: No such file or directory ERROR: File not found: '/file/path/after/space'".

Error still occurs even though I add "\" before space or quote the whole path.

I am not sure if the same problem happens to other isaac binaries which I haven't tested yet.

Really appreciate your help!

Ivan

come-raczy commented 9 years ago

Hi Ivan,

Thanks a lot for pointing it out. We will add this on the TOFIX list. For now, the easiest workaround is probably to create a symbolic link to bypass the part of the path that contains the space.

Thanks

Come

On Thu, Aug 6, 2015 at 10:38 AM, zeus19900814 notifications@github.com wrote:

Dear Isaac2 developers:

When I use isaac-sort-preference to create a preference to a fasta file, if the file path following -g has a space in it, isaac-sort-preference will throw an error saying "./isaac-sort-reference: line 104: /file/path/before/space/: No such file or directory ERROR: File not found: '/file/path/after/space'".

Error still occurs even though I add "\" before space or quote the whole path.

Really appreciate your help!

Ivan

— Reply to this email directly or view it on GitHub https://github.com/Illumina/isaac2/issues/4.

zeus19900814 commented 9 years ago

Hi Come,

Thank you again for the quick feedback!

Sure! I will go with symbolic link at this moment.

Look forward to it being fixed.

Best, Ivan

rpetrovski commented 9 years ago

Ivan, isaac-sort-reference internally uses GNU make to manage the steps of the workflow. Unfortunately make is unable to handle paths with spaces and ':' characters as the whole make syntax is based on the two. It looks like there are not ways to escape those characters nor any development is going on at the moment.

Roman.