index error with a specific file (roadmap data)

49 views
Skip to first unread message

tesa.s...@gmail.com

unread,
May 28, 2018, 4:39:09 AM5/28/18
to giggle
Hi Gigglers,

I am trying to run the roadmap example data and run into an error with the H9_Derived_Neuronal_Progenitor_Cultured_Cells_Active_TSS.bed.gz file.
This happens at the index step after sorting.

 ~/tools/giggle/bin/giggle index -i "roadmap_sort/*gz" -o roadmap_sort_b -f -s
Could not open file 'roadmap_sort/H9_Derived_Neuronal_Progenitor_Cultured_Cells_Active_TSS.bed.gz'
giggle: Could not open roadmap_sort/H9_Derived_Neuronal_Progenitor_Cultured_Cells_Active_TSS.bed.gz.


Previously I tried the wget file and it also fails at this file when indexing. Should I remove the offending file?

Thanks for the help,
Tesa

tesa.s...@gmail.com

unread,
May 28, 2018, 7:56:00 AM5/28/18
to giggle
I will answer my own question. It turns out this is also because of the limit to opening files. When I add 'ulimit -Sn 16384' it works.

Cheers,
Tesa

Ryan Layer

unread,
May 28, 2018, 8:20:01 AM5/28/18
to tesa.s...@gmail.com, giggle
Great! Thanks.
--
You received this message because you are subscribed to the Google Groups "giggle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to giggle-discus...@googlegroups.com.
To post to this group, send email to giggle-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/giggle-discuss/fe73fa3f-e37b-4033-97ea-74bb9430c578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

juegaonl...@gmail.com

unread,
Jun 24, 2021, 11:59:51 AM6/24/21
to giggle
The previous solution did not work for me, I am using CentOS.

Instead, I had to modify the file: /etc/security/limits.conf and add the following lines:

(Note that you need sudo permissions)

username soft nofile 16384
username hard nofile  16384



then run:

sysctl -p

Finally, I close your shell session and open it again.
Reply all
Reply to author
Forward
0 new messages