Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the -F option: the names of the output files get messed up #7

Open
thecorz opened this issue Oct 18, 2022 · 2 comments
Open

Comments

@thecorz
Copy link

thecorz commented Oct 18, 2022

Hello, thank you for developing the tool, really useful

When I try to demultiplex my reads into different sample files, I get files with the names of multiple samples concatenated

When I run the below line in Ubuntu 20.04 using Python 3.8:
python3 minibar.py minibar_barcode.txt FAT74402_pass_fc9452d2_1.fasta -F

If I name my samples '1', '2', '3' and '4' I get files like the following:
`sample1.fasta
sample1_2.fasta
sample1_2_3.fasta
sample2
sample2_4'

What I tried:

  • Changing the names of the files to something very simple
  • Play with the options -M {1,2} -C -CC -e -l -n
  • Changing from fastq to fasta
  • Running the test files: When I run minibar with the test files of the repo, the names of the output files are fine

Is it a python version issue?

Thanks you very much

@thecorz thecorz changed the title Problem with the -F option: the sample output file names get messed up Problem with the -F option: the names of the output files get messed up Oct 18, 2022
@thecorz
Copy link
Author

thecorz commented Oct 19, 2022

I can see the problem happening now in python3.8 and python2.7 so I don't think it's a matter of the python version

@jbh-cas
Copy link
Collaborator

jbh-cas commented Oct 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants