Conversation
| - conda config --add channels bioconda | ||
| - conda install -c bioconda -c conda-forge snakemake | ||
| - conda create -q -n snakemake snakemake>=5.3.1 python=3.6 | ||
| - conda create -q -n snakemake 'snakemake>=5.3.1' 'python>=3.10' |
There was a problem hiding this comment.
Requires python >= 3.10 to get the | None working.
There was a problem hiding this comment.
I believe this is only for documentation updates, not the code itself.
There was a problem hiding this comment.
Aaah. But then, which python is used? It was written python3.6 setup.py install...
There was a problem hiding this comment.
I updated it on the branch to 3.11
|
|
||
| header = barcodes_pl.columns | ||
| set_dif = set(required_header) - set(header) | ||
| set_dif = set([required_header]) - set(header) |
There was a problem hiding this comment.
without the brackets it was splitting every letter of the required_header
There was a problem hiding this comment.
Keep that one in, I'll merge once the PR is ready
| else: | ||
| barcodes_pl = barcodes_pl.with_columns( | ||
| reference=pl.col(REFERENCE_COLUMN).str.strip_chars(STRIP_CHARS), | ||
| reference=pl.col(required_header).str.strip_chars(STRIP_CHARS), |
There was a problem hiding this comment.
in barcodes_pl there is not the 'reference' column (at least in the whitelist barcode)
There was a problem hiding this comment.
I'm changing the behavior here a little bit. I think I'm gonna use "reference" even in the whitelist input. Just makes the logic a bit cleaner
|
To test I was doing: $ python cite_seq_count/__main__.py -R1 tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz -R2 tests/test_data/fastq/correct_R2.fastq.gz -t tests/test_data/tags/pass/correct_3.csv -cbf 1 -cbl 16 -umif 17 -umil 26 -wl tests/test_data/whitelist.csv
Counting number of reads in file tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz
Writing chunks to disk
Reading reads from files: tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz, tests/test_data/fastq/correct_R2.fastq.gz
Mapping reads
Mapping done
Correcting barcodes
Barcodes corrected
Traceback (most recent call last):
File "/home/ldelisle/Documents/mygit/CITE-seq-Count/cite_seq_count/__main__.py", line 208, in <module>
main()
File "/home/ldelisle/Documents/mygit/CITE-seq-Count/cite_seq_count/__main__.py", line 101, in main
final_results=final_results,
UnboundLocalError: local variable 'final_results' referenced before assignment |
|
3.11 ATM, haven't updated the setup file.
…Sent from my phone
On Wed, Nov 22, 2023, 22:13 Lucille Delisle ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In .travis.yml
<#185 (comment)>:
> @@ -19,11 +19,10 @@ install:
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- - conda install -c bioconda -c conda-forge snakemake
- - conda create -q -n snakemake snakemake>=5.3.1 python=3.6
+ - conda create -q -n snakemake 'snakemake>=5.3.1' 'python>=3.10'
Aaah. But then, which python is used? It was written python3.6 setup.py
install...
—
Reply to this email directly, view it on GitHub
<#185 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVO2F2VZUNKPJSE2MRQUTYFZTGJAVCNFSM6AAAAAA7WQQ63GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBVGM4DGOJWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No description provided.