Skip to content
New issue

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

Import data - References - Add fasta file - Broken fai file #8

Open
pblumenkamp opened this issue Jun 17, 2020 · 0 comments
Open

Import data - References - Add fasta file - Broken fai file #8

pblumenkamp opened this issue Jun 17, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pblumenkamp
Copy link
Member

Where: Import data - References - Add fasta file
Condition: New database; Fasta is first entry
Test file: test.fa.zip

During Import of fasta file, this exception was thrown:

htsjdk.samtools.SAMException: Found invalid line in index file:	168	46	168	169
	at htsjdk.samtools.reference.FastaSequenceIndex.parseIndexFile(FastaSequenceIndex.java:155)
	at htsjdk.samtools.reference.FastaSequenceIndex.<init>(FastaSequenceIndex.java:72)
	at htsjdk.samtools.reference.IndexedFastaSequenceFile.<init>(IndexedFastaSequenceFile.java:71)
	at de.cebitec.readxplorer.databackend.SaveFileFetcherForGUI.checkRefFile(SaveFileFetcherForGUI.java:424)
	at de.cebitec.readxplorer.databackend.dataobjects.PersistentReference.checkRef(PersistentReference.java:138)
	at de.cebitec.readxplorer.databackend.dataobjects.PersistentReference.<init>(PersistentReference.java:124)
	at de.cebitec.readxplorer.databackend.dataobjects.PersistentReference.<init>(PersistentReference.java:94)
	at de.cebitec.readxplorer.databackend.dataobjects.PersistentReference.<init>(PersistentReference.java:77)
	at de.cebitec.readxplorer.databackend.connector.ProjectConnector.getReferences(ProjectConnector.java:1074)
	at de.cebitec.readxplorer.databackend.connector.ProjectConnector.getReferencesAndTracks(ProjectConnector.java:1171)
	at de.cebitec.readxplorer.dashboard.DashboardWindowTopComponent.refreshData(DashboardWindowTopComponent.java:187)
	at de.cebitec.readxplorer.dashboard.DashboardWindowTopComponent$1$1$1.run(DashboardWindowTopComponent.java:147)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Renaming the header solved the problem.


Product Version: ReadXplorer 2.3
Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
System: Linux version 4.15.0-58-generic running on amd64; UTF-8; en_US (readxplorer)
User directory: /home/patrick/.readxplorer/dev
Cache directory: /home/patrick/.readxplorer/dev/var/cache

@pblumenkamp pblumenkamp added the bug Something isn't working label Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants