Skip to content

Step3.py z out of range #3

Description

@raymondng20

I'm getting the following error message in Step3.py:

File "/home/rayng/software/BarcodeAnalysis/ExtractBarcodes/Scripts/Step3.py", line 329, in <module>
    fq_list.append(cat_fastq[int(l_fastq[z-1].split("|")[-1]) : int(l_fastq[z].split("|")[-1])])

I'm trying to figure out why z is out of range, and I see that the range of z is defined by:
for z in range(1,4*len(grp)):

I'm currently testing out just one gDNA-only sample, so len(grp)=1 and len(l_fastq)=1. Why should the range be 4*len(grp)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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