Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
violethaze74
Artemis
Commits
98cccd44
Commit
98cccd44
authored
Feb 20, 2012
by
tcarver
Browse files
Merge pull request #51 from tcarver/master
misc
parents
b5bedc1d
62bbbc16
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
98cccd44
Version
XX
Version
14
Add options in the navigator for searching the forward and
reverse strands individually for base / amino acid patterns.
Add an option to the navigator for searching for matches that
overlap a seleted region or feature.
overlap a sele
c
ted region or feature.
New translation table 24 (Pterobranchia mitochondrial) added.
If the BAM index file is missing then Artemis uses the picard library to
attempt to create the index.
Variant (VCF / BCF) filtering now uses the meta-data in the header to
enable filtering based on INFO, FILTER and FORMAT columns.
...
...
uk/ac/sanger/artemis/components/DbfetchEntrySource.java
View file @
98cccd44
...
...
@@ -37,6 +37,8 @@ import uk.ac.sanger.artemis.io.EntryInformationException;
import
uk.ac.sanger.artemis.io.SimpleEntryInformation
;
import
java.io.*
;
import
java.util.regex.Pattern
;
import
javax.swing.*
;
/**
...
...
@@ -50,7 +52,7 @@ import javax.swing.*;
public
class
DbfetchEntrySource
implements
EntrySource
{
private
static
Pattern
REFSEQ_PATTERN
=
Pattern
.
compile
(
"[a-zA-Z]{2}?_\\w*"
);
/**
* Create a new DbfetchEntrySource.
* @param frame The component that created this EntrySource. (Used for
...
...
@@ -96,8 +98,12 @@ public class DbfetchEntrySource
// new MessageDialog (getFrame (),
// "reading entry - please wait", false);
String
db
=
"EMBL"
;
if
(
REFSEQ_PATTERN
.
matcher
(
embl_id
).
matches
())
db
=
"refseq"
;
final
String
url_string
=
"http://www.ebi.ac.uk/cgi-bin/dbfetch?db=
EMBL
&id="
+
embl_id
+
"&style=raw"
;
"http://www.ebi.ac.uk/cgi-bin/dbfetch?db=
"
+
db
+
"
&id="
+
embl_id
+
"&style=raw"
;
final
Document
url_document
=
DocumentFactory
.
makeDocument
(
url_string
);
...
...
uk/ac/sanger/artemis/io/IndexFastaStream.java
View file @
98cccd44
...
...
@@ -257,6 +257,11 @@ public class IndexFastaStream extends StreamSequence
return
fastaIndex
;
}
public
String
getContig
()
{
return
contig
;
}
public
static
void
main
(
String
args
[])
{
EntryInformation
new_entry_information
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment