Giter Club home page Giter Club logo

Comments (3)

SaelinB avatar SaelinB commented on August 12, 2024

I realized that the problem were the missing columns, and I fixed it by removing "Missing" columns from the busco file. However now I get this issue:


[Sun Jul 16 14:57:09 2023] #BLOCK Generated 10946 synteny blocks.
[Sun Jul 16 14:57:10 2023] #BLOCK Reduced to 156 synteny blocks based on minregion=INT filtering.
`summarise()` has grouped output by 'Genome', 'HitGenome', 'SeqName', 'Hit'. You can override using the `.groups` argument.
`summarise()` has grouped output by 'Genome', 'HitGenome', 'SeqName'. You can override using the `.groups` argument.
[Sun Jul 16 14:57:10 2023] #FOCUS Focal genome for orientation: scaffold16_size3654323
[Sun Jul 16 14:57:11 2023] Warning: problem with missing seqname for scaffold28_size2676831
Error in if (is.na(seqname)) { : argTument is of length zero
Calls: seqRev
Execution halted

I removed scaffold28_size2676831.fa from my analysis just to check, which worked further but then I get different errors about seq names:

[Sun Jul 16 15:00:54 2023] #SAVE All chromsyn data output to chromsyn.xlsx                                                                                                                                                                                     
1 plot(s)...Generating plot...(1) 10%
[Sun Jul 16 15:00:54 2023] Warning: problem with missing seqname for NA                                                                                                                                                   
[Sun Jul 16 15:00:54 2023] Warning: problem with missing seqname for NA                                                                                                                                                                                        
<simpleError in if (fwd) {    pD <- data.frame(x = c(xa1, xa2, xb2, xb1), y = c(ya, ya,         yb, yb))    if (settings$ypad) {        pD <- data.frame(x = c(xa1, xa1, xa2, xa2, xb2, xb2,             xb1, xb1), y = c(ya2, ya, ya, ya2, yb2, yb, yb, yb2)) 
   }    plt <- plt + geom_polygon(data = pD, mapping = aes(x = x,         y = y), fill = "steelblue", color = NA, alpha = settings$opacity)} else {    pD <- data.frame(x = c(xa1, xa2, xb1, xb2), y = c(ya, ya,         yb, yb))    if (settings$ypad) {      
  pD <- data.frame(x = c(xa1, xa1, xa2, xa2, xb1, xb1,             xb2, xb2), y = c(ya2, ya, ya, ya2, yb2, yb, yb, yb2))    }    plt <- plt + geom_polygon(data = pD, mapping = aes(x = x,         y = y), fill = "indianred", color = NA, alpha = settings$opa
city)}: missing value where TRUE/FALSE needed>                                                                                                                                                                                                                 
[Sun Jul 16 15:00:54 2023] #ERROR Error in if (fwd) {: missing value where TRUE/FALSE needed                                                                                                                                                                   
 => splitting plot into 2                                                                                                                                                                                                                                      
2 plot(s)...Generating plot...(1) 16.7%
[Sun Jul 16 15:00:54 2023] Warning: problem with missing seqname for NA                                                                                                                                                 
[Sun Jul 16 15:00:54 2023] Warning: problem with missing seqname for NA                                                                                                                                                                                        
<simpleError in if (fwd) {    pD <- data.frame(x = c(xa1, xa2, xb2, xb1), y = c(ya, ya,         yb, yb))    if (settings$ypad) {        pD <- data.frame(x = c(xa1, xa1, xa2, xa2, xb2, xb2,             xb1, xb1), y = c(ya2, ya, ya, ya2, yb2, yb, yb, yb2)) 
   }    plt <- plt + geom_polygon(data = pD, mapping = aes(x = x,         y = y), fill = "steelblue", color = NA, alpha = settings$opacity)} else {    pD <- data.frame(x = c(xa1, xa2, xb1, xb2), y = c(ya, ya,         yb, yb))    if (settings$ypad) {      
  pD <- data.frame(x = c(xa1, xa1, xa2, xa2, xb1, xb1,             xb2, xb2), y = c(ya2, ya, ya, ya2, yb2, yb, yb, yb2))    }    plt <- plt + geom_polygon(data = pD, mapping = aes(x = x,         y = y), fill = "indianred", color = NA, alpha = settings$opa
city)}: missing value where TRUE/FALSE needed>        

this error keeps going. I am analyzing a single chromosome from different assemblies, so each fasta file has a single sequence

from chromsyn.

SaelinB avatar SaelinB commented on August 12, 2024

Another update.. I've found by testing one-by-one that it is 4 out of the 12 sequences that throw this error when they are included, although I see no differences in the files .. when this error occurs it also creates chromsyn-[1-3].pdf and .png files multiple times

from chromsyn.

cabbagesofdoom avatar cabbagesofdoom commented on August 12, 2024

Sorry, I am at a conference and did not see the issue when you raised it. Yes, if the first row of the BUSCO file is Missing then it fails to recognise the right BUSCO version. I will get this bug fixed.

The other error is more intriguing. Would you be OK sharing your input data with me? You can email me at [email protected].

from chromsyn.

Related Issues (5)

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.