Mahesh Binzer-Panchal
07/12/2024, 8:51 AMJames Fellows Yates
07/12/2024, 8:58 AMJames Fellows Yates
07/12/2024, 8:59 AMMahesh Binzer-Panchal
07/12/2024, 8:59 AMJames Fellows Yates
07/12/2024, 9:00 AMMahesh Binzer-Panchal
07/12/2024, 9:00 AMJames Fellows Yates
07/12/2024, 9:00 AManalysis_ready_reads/ --outdir directory of taxprofiler could go into magJames Fellows Yates
07/12/2024, 9:01 AMJames Fellows Yates
07/12/2024, 9:02 AMassembly/<assembler>/contigs*.fa{asta}.gz could go into funcscanMahesh Binzer-Panchal
07/12/2024, 9:02 AMJames Fellows Yates
07/12/2024, 9:04 AMmeta for example (mag only accepts short reads really)James Fellows Yates
07/12/2024, 9:04 AMsample_id and the fastaMahesh Binzer-Panchal
07/12/2024, 9:06 AMMahesh Binzer-Panchal
07/12/2024, 12:48 PMtest for both fetchngs and taxprofiler, but the input from fetchngs, and --nf_core_pipeline taxprofiler . There's no real error to make sense of why it exited.Mahesh Binzer-Panchal
07/12/2024, 12:52 PMJames Fellows Yates
07/12/2024, 1:46 PMJames Fellows Yates
07/12/2024, 1:46 PMMahesh Binzer-Panchal
07/12/2024, 1:47 PMCaused by:
Process `NFCORE_TAXPROFILER:TAXPROFILER:SHORTREAD_COMPLEXITYFILTERING:BBMAP_BBDUK (SRX6725035)` terminated with an error exit status (1)
Command executed:
maxmem=$(echo "6 GB"| sed 's/ GB/g/g')
bbduk.sh \
-Xmx$maxmem \
in=SRX6725035_SRR9984183.fastp.fastq.gz \
out=SRX6725035_SRR9984183.fastq.gz \
threads=2 \
entropy=0.3 entropywindow=50 entropymask=f \
\
&> SRX6725035_SRR9984183.bbduk.log
cat <<-END_VERSIONS > versions.yml
"NFCORE_TAXPROFILER:TAXPROFILER:SHORTREAD_COMPLEXITYFILTERING:BBMAP_BBDUK":
bbmap: $(bbversion.sh | grep -v "Duplicate cpuset")
END_VERSIONS
Command exit status:
1
Command output:
(empty)James Fellows Yates
07/12/2024, 1:47 PM.nextflow.log either?James Fellows Yates
07/12/2024, 1:47 PMbbduk.log? Or is that also emopty?Mahesh Binzer-Panchal
07/12/2024, 1:47 PMJames Fellows Yates
07/12/2024, 1:48 PMMahesh Binzer-Panchal
07/12/2024, 1:48 PMSet threads to 2
Error when attempting to read SRX6725035_SRR9984183.fastp.fastq.gz
java.lang.RuntimeException: java.io.EOFException
at fileIO.ReadWrite.getGZipInputStream(ReadWrite.java:1051)
at fileIO.ReadWrite.getInputStream(ReadWrite.java:848)
at fileIO.FileFormat.getFirstOctet(FileFormat.java:446)
at fileIO.FileFormat.testInterleavedAndQuality(FileFormat.java:435)
at fileIO.FileFormat.testFormat(FileFormat.java:371)
at fileIO.FileFormat.<init>(FileFormat.java:220)
at fileIO.FileFormat.testInput(FileFormat.java:162)
at fileIO.FileFormat.testInput(FileFormat.java:144)
at fileIO.FileFormat.testInput(FileFormat.java:129)
at jgi.BBDuk.<init>(BBDuk.java:938)
at jgi.BBDuk.main(BBDuk.java:78)
Caused by: java.io.EOFException
at java.base/java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:268)
at java.base/java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:258)
at java.base/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164)
at java.base/java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
at fileIO.ReadWrite.getGZipInputStream(ReadWrite.java:1045)James Fellows Yates
07/12/2024, 1:48 PMJames Fellows Yates
07/12/2024, 1:48 PMJames Fellows Yates
07/12/2024, 1:48 PMMahesh Binzer-Panchal
07/12/2024, 1:49 PMtest_fullMahesh Binzer-Panchal
07/12/2024, 1:50 PMJames Fellows Yates
07/12/2024, 1:51 PMJames Fellows Yates
07/12/2024, 1:51 PMJames Fellows Yates
07/12/2024, 1:51 PMMahesh Binzer-Panchal
07/12/2024, 1:53 PMnf-cascade repo. It's the test profile for fetchngs with --nf_core_pipeline taxprofiler, and that is passed to taxprofiler also using test profile to fill in the rest, but the samplesheet is passed via --inputJames Fellows Yates
07/12/2024, 1:54 PMJames Fellows Yates
07/12/2024, 1:54 PMMahesh Binzer-Panchal
07/12/2024, 1:56 PMJames Fellows Yates
07/12/2024, 1:56 PMJames Fellows Yates
07/12/2024, 1:57 PMJames Fellows Yates
07/12/2024, 1:57 PMMahesh Binzer-Panchal
07/12/2024, 1:58 PMJames Fellows Yates
07/12/2024, 1:59 PMJames Fellows Yates
07/13/2024, 2:30 PMwf_opts: '-profile docker,test -r dev --nf_core_pipeline taxprofiler --input /workspace/nf-cascade/ids.csv'
Where ids.csv contains
ERR3579671
And we have success:Mahesh Binzer-Panchal
07/15/2024, 7:51 AMinput files to come through fetchngs.input: since for downstream processes, you could override a samplesheet passed from fetchngs e.g. if it needs tweaking like for replicate number or something)Mahesh Binzer-Panchal
07/15/2024, 7:51 AMJames Fellows Yates
07/15/2024, 7:55 AMJames Fellows Yates
07/15/2024, 7:56 AMJames Fellows Yates
07/15/2024, 7:56 AMJames Fellows Yates
07/15/2024, 7:56 AMJames Fellows Yates
07/15/2024, 7:56 AMMahesh Binzer-Panchal
07/15/2024, 7:59 AMfetchngs:
wf_opts: '-profile docker,test -r dev --nf_core_pipeline taxprofiler'
input: 'ids.csv'Mahesh Binzer-Panchal
07/15/2024, 8:02 AMJames Fellows Yates
07/15/2024, 8:11 AMMahesh Binzer-Panchal
07/15/2024, 3:24 PMWARN: Undocumented setting `docker.userEmulation` is not supported any more - please remove it from your config
[22/d7a863] Submitted process > NFCORE_FUNCSCAN:FUNCSCAN:ARG:AMRFINDERPLUS_UPDATE (update)
[95/3901e7] Submitted process > NFCORE_FUNCSCAN:FUNCSCAN:AMP:DRAMP_DOWNLOAD
[17/9b1bb9] Submitted process > NFCORE_FUNCSCAN:FUNCSCAN:CUSTOM_DUMPSOFTWAREVERSIONS (1)
WARN: Undocumented setting `docker.userEmulation` is not supported any more - please remove it from your config
[30/5af32b] Submitted process > NFCORE_FUNCSCAN:FUNCSCAN:MULTIQC
ERROR ~ Error executing process > 'NFCORE_FUNCSCAN:FUNCSCAN:AMP:DRAMP_DOWNLOAD'
Caused by:
Process `NFCORE_FUNCSCAN:FUNCSCAN:AMP:DRAMP_DOWNLOAD` terminated with an error exit status (1)
Command executed:
mkdir amp_ref_database/
ampcombi_download.py
cat <<-END_VERSIONS > versions.yml
"NFCORE_FUNCSCAN:FUNCSCAN:AMP:DRAMP_DOWNLOAD":
ampcombi: $(ampcombi --version | sed 's/ampcombi //')
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/local/lib/python3.11/http/client.py", line 975, in send
self.connect()
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 179, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f83546be790>, 'Connection to <http://dramp.cpu-bioinfor.org|dramp.cpu-bioinfor.org> timed out. (connect timeout=None)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<http://dramp.cpu-bioinfor.org|dramp.cpu-bioinfor.org>', port=80): Max retries exceeded with url: /downloads/download.php?filename=download_data/DRAMP3.0_new/general_amps.xlsx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f83546be790>, 'Connection to <http://dramp.cpu-bioinfor.org|dramp.cpu-bioinfor.org> timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/gitpod/.nextflow/assets/nf-core/funcscan/bin/ampcombi_download.py", line 78, in <module>
download_DRAMP("amp_ref_database")
File "/home/gitpod/.nextflow/assets/nf-core/funcscan/bin/ampcombi_download.py", line 30, in download_DRAMP
r = requests.get(url, allow_redirects=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 553, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<http://dramp.cpu-bioinfor.org|dramp.cpu-bioinfor.org>', port=80): Max retries exceeded with url: /downloads/download.php?filename=download_data/DRAMP3.0_new/general_amps.xlsx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f83546be790>, 'Connection to <http://dramp.cpu-bioinfor.org|dramp.cpu-bioinfor.org> timed out. (connect timeout=None)'))
Work dir:
/workspace/nf-cascade/work/nf-core/funcscan/work/95/3901e780c5deb304de95bb03bae458
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
-- Check '.nextflow.log' file for details
Execution cancelled -- Finishing pending tasks before exit
-[nf-core/funcscan] Pipeline completed with errors-Mahesh Binzer-Panchal
07/15/2024, 3:25 PMJames Fellows Yates
07/15/2024, 3:27 PMJames Fellows Yates
07/15/2024, 3:27 PM