We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There does not seem to be a convenient operation to subset the record directly!
julia> FASTX.FASTQ.Record("@name","ATC","!!!")[1:2] ERROR: MethodError: no method matching getindex(::FASTX.FASTQ.Record, ::UnitRange{Int64})
The text was updated successfully, but these errors were encountered:
That's correct. To subset a record, you must construct a new one:
julia> rec = FASTX.FASTQ.Record("@name","ATC","!!!"); julia> FASTQRecord( description(rec), sequence(rec)[1:2], quality(rec)[1:2] ) FASTQ.Record: description: "@name" sequence: "AT" quality: "!!"
I could add that - that wouldn't be too hard.
Sorry, something went wrong.
Thank you for your quick reply! It would be great to add this note to the documentation.
No branches or pull requests
There does not seem to be a convenient operation to subset the record directly!
The text was updated successfully, but these errors were encountered: