FAQ

Why doesn’t Chanjo work on my remote server?

Chanjo complains when trying to import annotations to my SQLite database.

To get to the point it has to do with the NFS filesystem (Network FileSystem or something). Some more complex SQL queries simply aren’t compatible with NFS. So what can you do?

  1. Switch to a MySQL database which should work fine.
  2. Only process the data to JSON-files with the “–json” flag. Then on a different computer you could import the annotations.

I’m afraid I can’t offer any other solutions at this point.

Error: (2006, ‘MySQL server has gone away’)

You need to change a setting in the “my.cnf” file. More information here.

  • Known limitations
  • Parallelization (postpone import) -> Usage examples
  • NFS file systems -> Usage examples
  • Troubleshooting

I can’t overwrite exising files using Chanjo!

As of the 2.0 release, Chanjo now completely relies on UNIX style output redirection for writing to files. You might, wisely, be using set -o noclobber in your .bashrc. This raises an error in UNIX if you try to overwrite existing files by output redirection.

The way to force overwrite is by using a special syntax:

$ echo two >| afile
$ cat afile
two

How does Chanjo handle genes in pseudoautosomal regions (X+Y)?

A few genes are present on both sex chromosomes (X+Y). Becuase the chromosomes are treated as separate entities, Chanjo also treat these genes as separate entities. To keep them separated in the SQL database, the default “ccds” converter adapter will prefix their names by “X-” and “Y-” respectively.

Note

It’s imporant that all converter adapters find some consistent way of handling elements in these tricky regions.