Skip to content

map_element_barcodes (assign) [100%] 1 of 1, failed: 1 ✘ #81

@Will19902225

Description

@Will19902225

Hi,

I hope you are all doing well. I have an issue below. Could you please help me fix it? Thanks.

(MPRAflow) nextflow run --w /home/huanglabdell/Documents/MPRAflow/work02232024 association.nf --name HH_01092024as_1 --fastq-insert "/media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R1_001.fastq.gz" --fastq-insertPE "/media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R3_001.fastq.gz" --fastq-bc "/media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R2_001.fastq.gz" --design "/media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/mIL13_hTNF_hIL6_hIL1B_remove_adaptor.fa" -dsl1
N E X T F L O W ~ version 22.04.2
Launching association.nf [chaotic_picasso] DSL1 - revision: 087b40d39f

                                      ,--./,-.
      ___     __   __   __   ___     /,-._.--~'
|\ | |__  __ /  ` /  \ |__) |__         }  {
| \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                      `._,._,'

MPRAflow v2.3.1"

Pipeline Name : MPRAflow
Pipeline Version: 2.3.1
Fastq insert : /media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R1_001.fastq.gz
fastq paired : /media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R3_001.fastq.gz
Fastq barcode : /media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/3_S3_L001_R2_001.fastq.gz
design fasta : /media/huanglabdell/596F-E992/02212024/BCL2/Data/Intensities/BaseCalls/HH_01092024as/mIL13_hTNF_hIL6_hIL1B_remove_adaptor.fa
minimum BC cov : 3
map quality : 30
base quality : 30
cigar string : n
min % mapped : 0.5
Output dir : outs
Run name : HH_01092024as_1
Working dir : /home/huanglabdell/Documents/MPRAflow/work
Container Engine: null
Current home : /home/huanglabdell
Current user : huanglabdell
Current path : /home/huanglabdell/Documents/MPRAflow
base directory : /home/huanglabdell/Documents/MPRAflow
Script dir : /home/huanglabdell/Documents/MPRAflow
Config Profile : standard

executor > local (6)
[99/2602b6] process > count_bc_nolab (count) [100%] 1 of 1 ✔
[53/c27b7f] process > create_BWA_ref (make ref) [100%] 1 of 1 ✔
[3b/2d3496] process > PE_merge (merge) [100%] 1 of 1 ✔
[c7/e14a7f] process > align_BWA_PE (align) [100%] 1 of 1 ✔
[00/ec1417] process > collect_chunks [100%] 1 of 1 ✔
[02/caf11f] process > map_element_barcodes (assign) [ 0%] 0 of 1
[- ] process > filter_barcodes -
Error executing process > 'map_element_barcodes (assign)'

Caused by:
Process map_element_barcodes (assign) terminated with an error exit status (1)

Command executed:

echo "test assign inputs"
echo 30
echo 30
echo 3_S3_L001_R2_001.fastq.gz
zcat 3_S3_L001_R2_001.fastq.gz | head

echo count_fastq.txt
echo count_merged.txt
cat count_fastq.txt
cat count_merged.txt

python /home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py /home/huanglabdell/Documents/MPRAflow 3_S3_L001_R2_001.fastq.gz count_fastq.txt s_merged.bam count_merged.txt HH_01092024as_1 30 30 n

Command exit status:
1

Command output:
test assign inputs
30
30
3_S3_L001_R2_001.fastq.gz
@M01416:220:000000000-DN9DG:1:1101:15719:1611 2:N:0:TTTCCTCT
TTTTTTTTTTTTTTT
+
111111>1000>EAE
@M01416:220:000000000-DN9DG:1:1101:17284:1628 2:N:0:TTTCCTCT
TTTTTCTTTTTTTTT
+
1>1>>1B3311>10A
@M01416:220:000000000-DN9DG:1:1101:15709:1633 2:N:0:TTTCCTCT
TTTTTTTTTTTTTTT
count_fastq.txt
count_merged.txt
1310484
0
/home/huanglabdell/Documents/MPRAflow
3_S3_L001_R2_001.fastq.gz
s_merged.bam
count_fastq.txt
count_merged.txt
counts
0
1310484
1310484
start
bad pairs: 0 poor quality: 0
start

Command error:

paired-end reads: 0it [00:00, ?it/s]
paired-end reads: 0it [00:00, ?it/s]

barcodes: 0%| | 0/327621.0 [00:00<?, ?it/s]
barcodes: 11%|███████████████▌ | 34592/327621.0 [00:00<00:00, 345912.91it/s]
barcodes: 21%|███████████████████████████████▌ | 70236/327621.0 [00:00<00:00, 349002.57it/s]
barcodes: 32%|███████████████████████████████████████████████▏ | 105901/327621.0 [00:00<00:00, 351260.75it/s]
barcodes: 43%|███████████████████████████████████████████████████████████████▍ | 142333/327621.0 [00:00<00:00, 355077.52it/s]
barcodes: 55%|███████████████████████████████████████████████████████████████████████████████▋ | 178835/327621.0 [00:00<00:00, 358000.26it/s]
barcodes: 66%|████████████████████████████████████████████████████████████████████████████████████████████████▏ | 215784/327621.0 [00:00<00:00, 361370.54it/s]
barcodes: 77%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 252876/327621.0 [00:00<00:00, 364181.15it/s]
barcodes: 89%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 290323/327621.0 [00:00<00:00, 367206.76it/s][W::bgzf_read_block] EOF marker is absent. The input is probably truncated

executor > local (6)
[99/2602b6] process > count_bc_nolab (count) [100%] 1 of 1 ✔
[53/c27b7f] process > create_BWA_ref (make ref) [100%] 1 of 1 ✔
[3b/2d3496] process > PE_merge (merge) [100%] 1 of 1 ✔
[c7/e14a7f] process > align_BWA_PE (align) [100%] 1 of 1 ✔
[00/ec1417] process > collect_chunks [100%] 1 of 1 ✔
[02/caf11f] process > map_element_barcodes (assign) [100%] 1 of 1, failed: 1 ✘
[- ] process > filter_barcodes -
Error executing process > 'map_element_barcodes (assign)'

Caused by:
Process map_element_barcodes (assign) terminated with an error exit status (1)

Command executed:

echo "test assign inputs"
echo 30
echo 30
echo 3_S3_L001_R2_001.fastq.gz
zcat 3_S3_L001_R2_001.fastq.gz | head

echo count_fastq.txt
echo count_merged.txt
cat count_fastq.txt
cat count_merged.txt

python /home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py /home/huanglabdell/Documents/MPRAflow 3_S3_L001_R2_001.fastq.gz count_fastq.txt s_merged.bam count_merged.txt HH_01092024as_1 30 30 n

Command exit status:
1

Command output:
test assign inputs
30
30
3_S3_L001_R2_001.fastq.gz
@M01416:220:000000000-DN9DG:1:1101:15719:1611 2:N:0:TTTCCTCT
TTTTTTTTTTTTTTT
+
111111>1000>EAE
@M01416:220:000000000-DN9DG:1:1101:17284:1628 2:N:0:TTTCCTCT
TTTTTCTTTTTTTTT
+
1>1>>1B3311>10A
@M01416:220:000000000-DN9DG:1:1101:15709:1633 2:N:0:TTTCCTCT
TTTTTTTTTTTTTTT
count_fastq.txt
count_merged.txt
1310484
0
/home/huanglabdell/Documents/MPRAflow
3_S3_L001_R2_001.fastq.gz
s_merged.bam
count_fastq.txt
count_merged.txt
counts
0
1310484
1310484
start
bad pairs: 0 poor quality: 0
start

Command error:

paired-end reads: 0it [00:00, ?it/s]
paired-end reads: 0it [00:00, ?it/s]

barcodes: 0%| | 0/327621.0 [00:00<?, ?it/s]
barcodes: 11%|███████████████▌ | 34592/327621.0 [00:00<00:00, 345912.91it/s]
barcodes: 21%|███████████████████████████████▌ | 70236/327621.0 [00:00<00:00, 349002.57it/s]
barcodes: 32%|███████████████████████████████████████████████▏ | 105901/327621.0 [00:00<00:00, 351260.75it/s]
barcodes: 43%|███████████████████████████████████████████████████████████████▍ | 142333/327621.0 [00:00<00:00, 355077.52it/s]
barcodes: 55%|███████████████████████████████████████████████████████████████████████████████▋ | 178835/327621.0 [00:00<00:00, 358000.26it/s]
barcodes: 66%|████████████████████████████████████████████████████████████████████████████████████████████████▏ | 215784/327621.0 [00:00<00:00, 361370.54it/s]
barcodes: 77%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 252876/327621.0 [00:00<00:00, 364181.15it/s]
barcodes: 89%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 290323/327621.0 [00:00<00:00, 367206.76it/s][W::bgzf_read_block] EOF marker is absent. The input is probably truncated

barcodes: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 327469/327621.0 [00:00<00:00, 368472.31it/s]
barcodes: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 327621/327621.0 [00:00<00:00, 363754.83it/s]
Traceback (most recent call last):
File "/home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py", line 157, in
save_barcodes_per_candidate(coords_to_barcodes, f'{prefix}_barcodes_per_candidate.feather')
File "/home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py", line 134, in save_barcodes_per_candidate
pd.Series(d, name = 'n_barcodes')
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/generic.py", line 5063, in getattr
return object.getattribute(self, name)
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/accessor.py", line 171, in get
accessor_obj = self._accessor(obj)
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib | 34592/327621.0 [00:00<00:00, 345912.91it/s]
barcodes: 21%|███████████████████████████████▌ | 70236/327621.0 [00:00<00:00, 349002.57it/s]
barcodes: 32%|███████████████████████████████████████████████▏ | 105901/327621.0 [00:00<00:00, 351260.75it/s]
barcodes: 43%|███████████████████████████████████████████████████████████████▍ | 142333/327621.0 [00:00<00:00, 355077.52it/s]
barcodes: 55%|███████████████████████████████████████████████████████████████████████████████▋ | 178835/327621.0 [00:00<00:00, 358000.26it/s]
barcodes: 66%|████████████████████████████████████████████████████████████████████████████████████████████████▏ | 215784/327621.0 [00:00<00:00, 361370.54it/s]
barcodes: 77%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 252876/327621.0 [00:00<00:00, 364181.15it/s]
barcodes: 89%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 290323/327621.0 [00:00<00:00, 367206.76it/s][W::bgzf_read_block] EOF marker is absent. The input is probably truncated

barcodes: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 327469/327621.0 [00:00<00:00, 368472.31it/s]
barcodes: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 327621/327621.0 [00:00<00:00, 363754.83it/s]
Traceback (most recent call last):
File "/home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py", line 157, in
save_barcodes_per_candidate(coords_to_barcodes, f'{prefix}_barcodes_per_candidate.feather')
File "/home/huanglabdell/Documents/MPRAflow/src/nf_ori_map_barcodes.py", line 134, in save_barcodes_per_candidate
pd.Series(d, name = 'n_barcodes')
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/generic.py", line 5063, in getattr
return object.getattribute(self, name)
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/accessor.py", line 171, in get
accessor_obj = self._accessor(obj)
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/strings.py", line 1796, in init
self._validate(data)
File "/home/huanglabdell/Documents/MPRAflow/work/conda/mpraflow_py36-1978c54da7aacd41df3c7a4cb7639795/lib/python3.6/site-packages/pandas/core/strings.py", line 1818, in validate
raise AttributeError("Can only use .str accessor with string "
AttributeError: Can only use .str accessor with string values, which use np.object
dtype in pandas

Work dir:
/home/huanglabdell/Documents/MPRAflow/work/02/caf11fd327ea7f39e2b5ecfe90187f

Tip: when you have fixed the problem you can continue the execution adding the option -resume to the run command line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions