Giter Site home page Giter Site logo

Comments (8)

antunderwood avatar antunderwood commented on June 3, 2024 2

This operates on FILENAMES

Looking at the code as it is written, it has the assumption that read filenames are in the format

_{R1,R2,1,2}.fastq.gz

NNNN-NNNNN_S33_R1_001.fastq.gz and NNNN-NNNNN_S33_R2_001.fastq.gz will be split to NNNN-NNNNN_S33_R1 and NNNN-NNNNN_S33_R2 which don't match

A fudge solution would be to make softlinks that remove the _001 until the sanger-pathogens team have bandwidth to correct the code

from seroba.

cimendes avatar cimendes commented on June 3, 2024 2

I was implementing a seroba component on flowcraft and getting this error when some particular components came before seroba. Thank you @tseemann and @aunderwo for your discussion! Without it I could not have figured it out! And @tseemann, I'm renaming all the input files to ${sample_id}_{1,2}.fq.gz to make it work. :)

Thanks!!!

from seroba.

tseemann avatar tseemann commented on June 3, 2024 2

I don't feel I should have to rename my files for a tool to work :(

from seroba.

tseemann avatar tseemann commented on June 3, 2024

The code is

if (options.read1.rsplit('_',1)[0] != options.read2.rsplit('_',1)[0]):
print('Names for forwards and reverse reads does not match. Cannot continue', file=sys.stderr)
sys.exit(1)

Is this operating on the read FILENAMES or the READ IDs ?

Mine are NNNN-NNNNN_S33_R2_001.fastq.gz and R2

from seroba.

tseemann avatar tseemann commented on June 3, 2024

Thanks once again @aunderwo

from seroba.

tseemann avatar tseemann commented on June 3, 2024

Argh. Our other system is to use SAMPLE/{R1,R2}.fq.gz but that fails too.
Names for forwards and reverse reads does not match. Cannot continue :(

from seroba.

sreerampeela avatar sreerampeela commented on June 3, 2024

Even I have the same issue. I am using Docker image and renamed files as read_1.fq.gz and read_2.fq.gz as suggested by @cimendes. The issue isn't resolved. Any suggestions on how to resolve this?

from seroba.

arif-tanmoy avatar arif-tanmoy commented on June 3, 2024

renaming the files to $name_1.fastq.gz and $name_2.fastq.gz worked.

from seroba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.