Giter Site home page Giter Site logo

Comments (8)

mpoelchau avatar mpoelchau commented on June 15, 2024

Hi @lassancejm - does your fasta file contain a sequence with the ID chrX in the defline?

from gff3toolkit.

lassancejm avatar lassancejm commented on June 15, 2024

yes, chrX is present in the fasta file.

A simple fix was to change "X" into an arbitrary numerical value and then the command runs.

from gff3toolkit.

mpoelchau avatar mpoelchau commented on June 15, 2024

Really! That would be a bug. Thanks for the report; we'll look into this.

from gff3toolkit.

mpoelchau avatar mpoelchau commented on June 15, 2024

@tony006469 can you add a new argument 'seqid-sort' to gff3_sort that will sort the gff3 by the number of the reference sequence (the current behavior)? If 'reference-sort' is not passed, then the program should use the pre-existing scaffold order for sorting - so, the order that the seqids have in the original gff.

from gff3toolkit.

tony006469 avatar tony006469 commented on June 15, 2024

@mpoelchau
https://github.com/NAL-i5K/GFF3toolkit/tree/new_argument_for_seqid_no_number
It's ready for testing.

from gff3toolkit.

tony006469 avatar tony006469 commented on June 15, 2024

screen

from gff3toolkit.

tony006469 avatar tony006469 commented on June 15, 2024

Command: gff3_sort -g /home/tony/Desktop/sort_testfiles/test2.gff -og example-sorted.gff3 -r

1.png

2.png

3.png

from gff3toolkit.

mpoelchau avatar mpoelchau commented on June 15, 2024

Fixed via #87. Thanks for reporting @lassancejm. Closing this - feel free to reopen if you notice any problems.

from gff3toolkit.

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.