migec icon indicating copy to clipboard operation
migec copied to clipboard

"FileNotFoundException: _migec_error.log (Too many open files)"

Open cohenp05 opened this issue 4 years ago • 0 comments

Hello, I am trying to use MIGEC to demultiplex some single cell sequencing data generated using a MiSeq. To do this I have made a whitelist of cell barcodes possibly present in the dataset and am trying to use MIGEC checkout to extract UMIs per cell barcode. My code is as follows

java -jar migec-1.2.9.jar Checkout -cute Barcodes_whitelist.txt R1.fastq.gz R4.fastq.gz ./migec/checkout

I get the error below when this runs. Any help would be very much appreciated. Thank you!

Exception in thread "main" java.io.FileNotFoundException: _migec_error.log (Too many open files) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileWriter.<init>(FileWriter.java:107) at org.codehaus.groovy.runtime.ResourceGroovyMethods.newWriter(ResourceGroovyMethods.java:1750) at org.codehaus.groovy.runtime.ResourceGroovyMethods.withWriterAppend(ResourceGroovyMethods.java:1880) at org.codehaus.groovy.runtime.dgm$1034.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at com.milaboratory.migec.Migec.run(Migec.groovy:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022) at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908) at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:412) at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) at com.milaboratory.migec.Migec.main(Migec.groovy) SS_ERR> Exit status of job 1 was 256

cohenp05 avatar Nov 25 '19 23:11 cohenp05