Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Methods for default sequence dictionary name #774
Conversation
magicDGS
referenced
this pull request
in broadinstitute/picard
Dec 14, 2016
Merged
Default output for CreateSequenceDictionary #712
coveralls
commented
Dec 14, 2016
magicDGS
referenced
this pull request
in broadinstitute/picard
Dec 14, 2016
Closed
CreateSequenceDictionary should use default HTSJDK method #714
| + * | ||
| + * @throws IllegalArgumentException if the file is not a supported reference file. | ||
| + */ | ||
| + public static String getFastaExtension(final Path path) { |
yfarjoun
Dec 16, 2016
Contributor
Path is supposed to allow URLs right? signed URLs have keys after the name of the file....so something like
http://my.web.site/file.fasta?key=abcd12345
should we start thinking about these kinds of URLs, or is it hopeless? we have similar problems with bam/vcfs and their index files...
magicDGS
Dec 27, 2016
Contributor
I don't know about this, maybe it is better to discuss it in #724...
| + public void testGetDefaultDictionaryForReferenceSequence(final String fastaFile, final String expectedDict) throws Exception { | ||
| + Assert.assertEquals(ReferenceSequenceFileFactory.getDefaultDictionaryForReferenceSequence(new File(fastaFile)), new File(expectedDict)); | ||
| + } | ||
| + |
| + return new IndexedFastaSequenceFile(path); | ||
| + } | ||
| + catch (final FileNotFoundException e) { | ||
| + throw new IllegalStateException("Should never happen, because existence of files has been checked.", e); | ||
| } | ||
| } |
|
Adreessed requests. Back to you @yfarjoun. |
coveralls
commented
Dec 27, 2016
|
thanks! |
|
|
yfarjoun
merged commit 0e91c4b
into
samtools:master
Dec 28, 2016
magicDGS
deleted the
magicDGS:dgs_ReferenceSequenceFileFactory_default_dict branch
Jan 9, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
magicDGS commentedDec 14, 2016
•
edited
Description
Changes for broadinstitute/picard#712 and broadinstitute/gatk#2243
Checklist